1
Fork 0

typescript(multiplayer-backend): initial commit

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Matei Adriel 2019-05-19 21:37:39 +03:00 committed by prescientmoon
parent 1544ca69e2
commit 7f3b756378
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
21 changed files with 807 additions and 80 deletions
typescript/multiplayer-backend

View file

@ -1,5 +1,3 @@
//public config
//interfaces
export interface routeList {
[key: string]: string
@ -17,6 +15,12 @@ export const routes: routeList = {
}
//whitelist of urls
export const whiteList = [{
url: "http://localhost:4200"
}]
export const whiteList: whiteListUrl[] = [{
url: "localhost:4200"
},{
url: "localhost:8000"
},{
url: "localhost:3000"
}]
export const staticRoutes:string[] = []