all
This commit is contained in:
10
Downloads/Voltaserve/ui/src/config/config.ts
Normal file
10
Downloads/Voltaserve/ui/src/config/config.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Config } from './types'
|
||||
|
||||
const config: Config = {
|
||||
apiURL: '/proxy/api/v1',
|
||||
idpURL: '/proxy/idp/v1',
|
||||
}
|
||||
|
||||
export function getConfig(): Config {
|
||||
return config
|
||||
}
|
||||
4
Downloads/Voltaserve/ui/src/config/types.ts
Normal file
4
Downloads/Voltaserve/ui/src/config/types.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export type Config = {
|
||||
apiURL: string
|
||||
idpURL: string
|
||||
}
|
||||
Reference in New Issue
Block a user