Fix API_BASE definition in DiscordActivityContext.tsx
cgen-21330814c81248ce9920ae7b7fd93b6b
This commit is contained in:
parent
10e9411d36
commit
9dc954c273
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ import { supabase } from "@/lib/supabase";
|
|||
import { UserProfile } from "@/lib/database.types";
|
||||
import { aethexToast } from "@/lib/aethex-toast";
|
||||
|
||||
const API_BASE = (globalThis as any).import?.meta?.env?.VITE_API_BASE || "";
|
||||
const API_BASE = import.meta.env.VITE_API_BASE || "";
|
||||
import {
|
||||
aethexUserService,
|
||||
aethexRoleService,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React, { createContext, useContext, useEffect, useState } from "react";
|
||||
|
||||
const API_BASE = (globalThis as any).import?.meta?.env?.VITE_API_BASE || "";
|
||||
const API_BASE = import.meta.env.VITE_API_BASE || "";
|
||||
|
||||
interface DiscordUser {
|
||||
id: string;
|
||||
|
|
|
|||
Loading…
Reference in a new issue