fixed reserved env name
This commit is contained in:
@@ -24,7 +24,7 @@ const userStore = useUserStore();
|
||||
// console.log(data);
|
||||
// userStore.user = data;
|
||||
// });
|
||||
const APIHOST = import.meta.env.BASE_URL;
|
||||
const APIHOST = import.meta.env.VITE_APIHOST;
|
||||
|
||||
async function logout() {
|
||||
await fetch(`${APIHOST}/logout`, {
|
||||
|
||||
Reference in New Issue
Block a user