feat(ux): add nextjs-toploader navigation progress bar and resolve local dev port conflicts
This commit is contained in:
1 parent
b68dd29541
commit
2d54fc8208
19 files changed
+11241
-11034
No files matched your search
@@ -6,7 +6,7 @@ import type { ApiResponse, AuthResponseData } from '../types/admin';
|
||||
|
||||
export const BASE_DOMAIN = import.meta.env.VITE_API_URL
|
||||
? import.meta.env.VITE_API_URL.replace(/\/api$/, '')
|
||||
: (import.meta.env.DEV ? 'http://127.0.0.1:4001' : '');
|
||||
: (import.meta.env.DEV ? 'http://127.0.0.1:4400' : '');
|
||||
|
||||
const baseURL = `${BASE_DOMAIN}/api`;
|
||||
|
||||
|
||||
Reference in new issue
Block a user