typescript(multiplayer-backend): initial commit
Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
1544ca69e2
commit
7f3b756378
21 changed files with 807 additions and 80 deletions
typescript/multiplayer-backend
|
@ -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[] = []
|
Loading…
Add table
Add a link
Reference in a new issue