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.mjs CHANGED
@@ -4202,7 +4202,8 @@ var init_config2 = __esm({
4202
4202
  });
4203
4203
  if (serverConfig.env) {
4204
4204
  for (const [envKey, envValue] of Object.entries(serverConfig.env)) {
4205
- if (envValue.includes("/") && !path.isAbsolute(envValue)) {
4205
+ const isUrl = /^[a-z][a-z0-9+.-]*:\/\//i.test(envValue);
4206
+ if (!isUrl && envValue.includes("/") && !path.isAbsolute(envValue)) {
4206
4207
  serverConfig.env[envKey] = path.resolve(configDir, "..", envValue);
4207
4208
  }
4208
4209
  }