unescape forward slashes for urls in gen_config

This commit is contained in:
throwaway 2024-02-17 13:33:06 -08:00
parent c85d132211
commit 2c95931d43
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function type_to_string($n) {
return "\"$n\""; return "\"$n\"";
} }
if ($type === "array") { if ($type === "array") {
return json_encode($n); return json_encode($n, JSON_UNESCAPED_SLASHES);
} }
return $n; return $n;
} }