User stuff, config structure changes, web panel start, versioncheck fix, api start, recaptcha support for web panel
This commit is contained in:
@@ -20,19 +20,18 @@ type NameserverHosts = {
|
||||
Leaderboard: string
|
||||
}
|
||||
|
||||
const path = `${protocol}://${config.web.nameserverHost}`;
|
||||
const nameserver: NameserverHosts = {
|
||||
Auth: path,
|
||||
API: path,
|
||||
WWW: path,
|
||||
Notifications: path,
|
||||
Images: path,
|
||||
CDN: path,
|
||||
Commerce: path,
|
||||
Matchmaking: path,
|
||||
Storage: path,
|
||||
Chat: path,
|
||||
Leaderboard: path
|
||||
Auth: `${protocol}://${config.web.nameserverHost}/auth`,
|
||||
API: `${protocol}://${config.web.nameserverHost}`,
|
||||
WWW: `${protocol}://${config.web.nameserverHost}`,
|
||||
Notifications: `${protocol}://${config.web.nameserverHost}/notify`,
|
||||
Images: `${protocol}://${config.web.nameserverHost}/img`,
|
||||
CDN: `${protocol}://${config.web.nameserverHost}/cdn`,
|
||||
Commerce: `${protocol}://${config.web.nameserverHost}/commerce`,
|
||||
Matchmaking: `${protocol}://${config.web.nameserverHost}/match`,
|
||||
Storage: `${protocol}://${config.web.nameserverHost}/storage`,
|
||||
Chat: `${protocol}://${config.web.nameserverHost}/chat`,
|
||||
Leaderboard: `${protocol}://${config.web.nameserverHost}/leaderboard`
|
||||
}
|
||||
|
||||
route.router.get('*', (_rq, rs) => {
|
||||
|
||||
Reference in New Issue
Block a user