Skip to content

Commit

Permalink
Merge pull request #162 from AI-READI/staging
Browse files Browse the repository at this point in the history
Fix baseURL variable
  • Loading branch information
greenstick authored Nov 8, 2024
2 parents 7fc8b5a + 33c6363 commit 2bd2a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { compileDashboardModules } from "@/modules/dashboard/compile";

export const useDashboardStore = defineStore("dashboard", () => {
// const baseURL: string = nuxtConfig().public.STAGING_FAIRHUB_API_URL;
const baseURL: string = ["staging", "production"].includes(process.env.NUXT_SITE_ENV) ? "https://staging.api.fairhub.io" : "http://127.0.0.1:5000";
const baseURL: string = "https://staging.api.fairhub.io";
const loading = ref(false);
const configs: object = import.meta.glob(
"@/modules/dashboard/config/modules/*.json",
Expand Down

0 comments on commit 2bd2a00

Please sign in to comment.