add support for configuring server url. fixes #11
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export interface Config {
|
||||
serverUrl: string
|
||||
}
|
||||
|
||||
const env = (window as any).env
|
||||
|
||||
export const config: Config = {
|
||||
serverUrl: env?.SERVER_URL || '',
|
||||
}
|
||||
Reference in New Issue
Block a user