Changed default port, added comment, fix for using mikro-orm with typescript
This commit is contained in:
@ -6,7 +6,7 @@ class config {
|
||||
// Server configuration
|
||||
static ENV: string = process.env.ENV || 'development'
|
||||
static HOST: string = process.env.HOST || '0.0.0.0'
|
||||
static PORT: number = process.env.PORT ? parseInt(process.env.PORT) : 6969
|
||||
static PORT: number = process.env.PORT ? parseInt(process.env.PORT) : 4000
|
||||
static JWT_SECRET: string = process.env.JWT_SECRET || 'secret'
|
||||
static CLIENT_URL: string = process.env.CLIENT_URL ? process.env.CLIENT_URL : 'https://noxious.gg'
|
||||
|
||||
|
@ -34,6 +34,8 @@ export default class MapRequestEvent extends BaseEvent {
|
||||
|
||||
await mapRepository.getEntityManager().populate(map, mapRepository.POPULATE_MAP_EDITOR as any)
|
||||
|
||||
// Remove map.mapEventTiles.teleport.toMap and add map.mapEventTiles.teleport.toMapId
|
||||
|
||||
return callback(map)
|
||||
} catch (error: any) {
|
||||
this.logger.error('gm:map:request error', error.message)
|
||||
|
Reference in New Issue
Block a user