fix(buildbot): remove CORS wildcards for their precise Gerrit hosts

wildcards are not supported in CORS headers, so this design was quite
wrong actually.

We can just use the actual Gerrit hostname for now.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
raito 2024-10-13 17:24:51 +02:00
parent 97bee26977
commit 3f80464553
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@
port = 2022;
username = "buildbot";
};
cors.allowedOrigin = "*.lix.systems";
cors.allowedOrigin = "gerrit.lix.systems";
projects = [
"lix"
"lix-installer"

View file

@ -36,7 +36,7 @@
port = cfgGerrit.port;
username = "buildbot";
};
cors.allowedOrigin = "*.forkos.org";
cors.allowedOrigin = "cl.forkos.org";
projects = [
"buildbot-test"
"nixpkgs"