added uploadCachePath

This commit is contained in:
srgooglo 2022-06-06 12:07:09 +02:00
parent 7b7b5650be
commit 23ac71c95e

View File

@ -84,7 +84,10 @@ class Server {
global.wsInterface = this.httpInstance.wsInterface global.wsInterface = this.httpInstance.wsInterface
global.httpListenPort = this.listenPort global.httpListenPort = this.listenPort
global.globalPublicURI = this.env.globalPublicURI global.globalPublicURI = this.env.globalPublicURI
global.uploadPath = this.env.uploadPath ?? path.resolve(process.cwd(), "uploads") global.uploadPath = this.env.uploadPath ?? path.resolve(process.cwd(), "uploads")
global.uploadCachePath = this.env.uploadCachePath ?? path.resolve(process.cwd(), "cache")
global.jwtStrategy = this.options.jwtStrategy global.jwtStrategy = this.options.jwtStrategy
global.signLocation = this.env.signLocation global.signLocation = this.env.signLocation