@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.
Files changed (3) hide show
  1. package/dist/index.js +1 -1
  2. package/gn.sh +1 -1
  3. 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("GamePlayer");
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 + "/./GNconfig." + ENVIROMENT + ".json";
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmobitea/gn-server",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Game Networking Server by XmobiTea (Pro)",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",