@xmobitea/gn-server 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/gn.sh +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -69537,7 +69537,7 @@ class xDatabase {
|
|
|
69537
69537
|
}
|
|
69538
69538
|
createMasterPlayerAsync(result) {
|
|
69539
69539
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69540
|
-
let collection = this.systemCollection("
|
|
69540
|
+
let collection = this.systemCollection("MasterPlayer");
|
|
69541
69541
|
yield collection.insertOne(result);
|
|
69542
69542
|
return new MasterPlayer_1.MasterPlayer(result, collection);
|
|
69543
69543
|
});
|
package/gn.sh
CHANGED
|
@@ -179,7 +179,7 @@ import { TestRequestHandler } from "./src/app-api/handler/TestRequestHandler";
|
|
|
179
179
|
import { PostIndex } from "./PostIndex";
|
|
180
180
|
|
|
181
181
|
let ENVIROMENT = process.env.ENVIROMENT || "debug";
|
|
182
|
-
const optionsPath = __dirname + "
|
|
182
|
+
const optionsPath = __dirname + "/./../GNconfig." + ENVIROMENT + ".json";
|
|
183
183
|
console.log("[GN Server] ENVIROMENT [" + ENVIROMENT + "], load the config at " + optionsPath);
|
|
184
184
|
let optionStr = fs.readFileSync(optionsPath).toString();
|
|
185
185
|
let fullOptions = JSON.parse(optionStr);
|