Initial commit
This commit is contained in:
8
frontend/src/config.ts
Normal file
8
frontend/src/config.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
const API_BASE_URL = import.meta.env.VITE_API_URL || 'http://localhost:8000'
|
||||
const WS_BASE_URL = import.meta.env.VITE_WS_URL || 'ws://localhost:8000'
|
||||
|
||||
export const config = {
|
||||
apiBaseUrl: API_BASE_URL,
|
||||
wsBaseUrl: WS_BASE_URL,
|
||||
apiUrl: `${API_BASE_URL}/api/v1`,
|
||||
}
|
||||
Reference in New Issue
Block a user