@knotpad/app 0.2.2 → 0.2.3
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/bin/brief.js +5 -0
- package/package.json +1 -1
package/bin/brief.js
CHANGED
|
@@ -179,6 +179,11 @@ for (const [k, v] of Object.entries(env)) {
|
|
|
179
179
|
process.env[k] = v;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
+
// Security guard: Force IS_CLOUD to false for CLI installations
|
|
183
|
+
// This prevents users from accidentally switching to cloud mode which would
|
|
184
|
+
// require production credentials and could cause connection errors
|
|
185
|
+
process.env.IS_CLOUD = "false";
|
|
186
|
+
|
|
182
187
|
// ── 3. Build (if not already built) ───────────────────────────────────────────
|
|
183
188
|
|
|
184
189
|
const BUILD_ID = path.join(PKG_DIR, ".next", "BUILD_ID");
|