Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
KamyarTaher committed Nov 8, 2024
1 parent 5fdc9fc commit 2a16dfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/backendAPI/backendAPI.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import axios, { AxiosResponse } from "axios";
import { fetchToken } from "./tokenFetch";

let accessToken = "";
const BASE_URL = "https://api.metacube.games:8080/";
Expand Down
2 changes: 1 addition & 1 deletion src/app/backendAPI/tokenFetch.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
async function fetchToken(reconnect: boolean) {
export async function fetchToken(reconnect: boolean) {
const response = await fetch(
`http://play.metacube.games/api/set-cookie?reconnect=${reconnect}`,
{
Expand Down

0 comments on commit 2a16dfb

Please sign in to comment.