1
Fork 0
solar-conflux/typescript/multiplayer-backend/config.ts
Matei Adriel 1544ca69e2
typescript(multiplayer-backend): email validation tests
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-04-15 18:59:30 +03:00

22 lines
388 B
TypeScript

//public config
//interfaces
export interface routeList {
[key: string]: string
}
export interface whiteListUrl {
url: string
methods?: string
}
//routes
export const baseUrl = "./src/routes/"
export const routes: routeList = {
"/logs": "logging/logs.ts",
"/auth": "auth/auth.ts"
}
//whitelist of urls
export const whiteList = [{
url: "http://localhost:4200"
}]