bill 3 years ago
parent
commit
8ef1f2db07
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/env/index.ts

+ 1 - 1
src/env/index.ts

@@ -39,7 +39,7 @@ export type Params = {
   token?: string
 }
 
-export const baseURL = params.baseURL ? params.baseURL : import.meta.env.DEV ? '/local' : ''
+export const baseURL = params.baseURL ? params.baseURL : import.meta.env.DEV ? '/api' : ''
 
 
 export const getResource = (uri: string) => {