@whoz-oss/coday-web 0.21.0 → 0.21.1

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/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "sharp": "0.34.4"
11
11
  },
12
- "version": "0.21.0",
12
+ "version": "0.21.1",
13
13
  "bin": {
14
14
  "coday-web": "./bin.js"
15
15
  }
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "sharp": "0.34.4"
11
11
  },
12
- "version": "0.21.0",
12
+ "version": "0.21.1",
13
13
  "bin": {
14
14
  "coday-web": "./bin.js"
15
15
  }
package/server/server.js CHANGED
@@ -122402,9 +122402,8 @@ var configPath = codayOptions.configDir ?? defaultConfigPath;
122402
122402
  var webhookService = new WebhookService(configPath);
122403
122403
  debugLog("INIT", "Webhook service initialized");
122404
122404
  app.use(import_express.default.json({ limit: "20mb" }));
122405
- var DEV_MODE = !process.env.CLIENT_FOLDER;
122406
- var ANGULAR_DEV_SERVER = "http://localhost:4200";
122407
- if (DEV_MODE) {
122405
+ if (process.env.BUILD_ENV === "development") {
122406
+ const ANGULAR_DEV_SERVER = "http://localhost:4200";
122408
122407
  debugLog("INIT", `Development mode: proxying to Angular dev server at ${ANGULAR_DEV_SERVER}`);
122409
122408
  Promise.resolve().then(() => __toESM(require_dist3(), 1)).then(({ createProxyMiddleware }) => {
122410
122409
  const proxyMiddleware = createProxyMiddleware({