Add config to startup because I forgor last time
This commit is contained in:
parent
8b4627ef56
commit
484615a447
@ -1,5 +1,6 @@
|
|||||||
import { Application } from "express";
|
import { Application } from "express";
|
||||||
import {Module} from "module";
|
import {Module} from "module";
|
||||||
|
import { Config } from "../config";
|
||||||
import * as wm from "../wmmt/wm.proto";
|
import * as wm from "../wmmt/wm.proto";
|
||||||
|
|
||||||
export default class StartupModule extends Module {
|
export default class StartupModule extends Module {
|
||||||
@ -36,7 +37,7 @@ export default class StartupModule extends Module {
|
|||||||
places.push(new wm.wm.protobuf.Place({
|
places.push(new wm.wm.protobuf.Place({
|
||||||
placeId: "JPN0123",
|
placeId: "JPN0123",
|
||||||
regionId: 1,
|
regionId: 1,
|
||||||
shopName: "WMMT6",
|
shopName: Config.getConfig().shopName,
|
||||||
country: "JPN"
|
country: "JPN"
|
||||||
}));
|
}));
|
||||||
let resp = wm.wm.protobuf.PlaceList.encode({places});
|
let resp = wm.wm.protobuf.PlaceList.encode({places});
|
||||||
|
Loading…
Reference in New Issue
Block a user