wip fix
This commit is contained in:
@@ -93,10 +93,13 @@ export const deploy = {
|
||||
if (!g.deploy.init) {
|
||||
g.deploy.init = true;
|
||||
g.deploy.raw = read(dir(`app/web/config.json`), "json");
|
||||
|
||||
if (g.deploy.raw) {
|
||||
for (const [k, v] of Object.entries(g.deploy.raw)) {
|
||||
(g.deploy.config as any)[k] = v;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return g.deploy.config;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user