mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
remove unwanted globals
This commit is contained in:
parent
4a855f550e
commit
ca95cbab96
@ -83,10 +83,6 @@ export default class Server {
|
|||||||
global.wsInterface = this.server.wsInterface
|
global.wsInterface = this.server.wsInterface
|
||||||
global.httpListenPort = this.listenPort
|
global.httpListenPort = this.listenPort
|
||||||
|
|
||||||
global.publicHostname = this.env.publicHostname
|
|
||||||
global.publicProtocol = this.env.publicProtocol
|
|
||||||
global.globalPublicUri = `${this.env.publicProtocol}://${this.env.publicHost}`
|
|
||||||
|
|
||||||
global.uploadCachePath = this.env.uploadCachePath ?? path.resolve(process.cwd(), "cache")
|
global.uploadCachePath = this.env.uploadCachePath ?? path.resolve(process.cwd(), "cache")
|
||||||
|
|
||||||
global.jwtStrategy = this.options.jwtStrategy
|
global.jwtStrategy = this.options.jwtStrategy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user