Add support for JSON listing #1

Merged
Francesco Siddi merged 7 commits from json-view into develop 2023-11-01 12:08:09 +01:00
Showing only changes of commit a44d072cf2 - Show all commits

View File

@ -257,7 +257,7 @@ class BuildsRenderer {
$request_uri = ($_SERVER['REQUEST_URI'] == "/" ||
stringContains($_SERVER['REQUEST_URI'], "bpy")) ?
"/download/daily" : $_SERVER['REQUEST_URI'];
"/download/daily" : strtok($_SERVER['REQUEST_URI'], '?');
$env_id = getEnvId();