juno-code 1.0.14 → 1.0.15
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/dist/bin/cli.js +2 -1
- package/dist/bin/cli.js.map +1 -1
- package/dist/bin/cli.mjs +2 -1
- package/dist/bin/cli.mjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/bin/cli.js
CHANGED
|
@@ -4235,7 +4235,8 @@ var init_config2 = __esm({
|
|
|
4235
4235
|
});
|
|
4236
4236
|
if (serverConfig.env) {
|
|
4237
4237
|
for (const [envKey, envValue] of Object.entries(serverConfig.env)) {
|
|
4238
|
-
|
|
4238
|
+
const isUrl = /^[a-z][a-z0-9+.-]*:\/\//i.test(envValue);
|
|
4239
|
+
if (!isUrl && envValue.includes("/") && !path__namespace.isAbsolute(envValue)) {
|
|
4239
4240
|
serverConfig.env[envKey] = path__namespace.resolve(configDir, "..", envValue);
|
|
4240
4241
|
}
|
|
4241
4242
|
}
|