mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-25 09:42:10 +00:00
Fix module resolution when $CWD != .
This commit is contained in:
committed by
Rory&
parent
168758924c
commit
2feb90475e
@@ -17,7 +17,9 @@
|
||||
*/
|
||||
|
||||
// process.env.MONGOMS_DEBUG = "true";
|
||||
require("module-alias/register");
|
||||
import moduleAlias from "module-alias";
|
||||
moduleAlias(__dirname + "../../../package.json");
|
||||
|
||||
import "reflect-metadata";
|
||||
import cluster, { Worker } from "cluster";
|
||||
import os from "os";
|
||||
|
||||
Reference in New Issue
Block a user