forked from the-distro/infra
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:
parent
df8a57f91a
commit
437293bdaa
|
@ -38,7 +38,7 @@
|
|||
port = 2022;
|
||||
username = "buildbot";
|
||||
};
|
||||
cors.allowedOrigin = "*.lix.systems";
|
||||
cors.allowedOrigin = "gerrit.lix.systems";
|
||||
projects = [
|
||||
"lix"
|
||||
"lix-installer"
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
port = cfgGerrit.port;
|
||||
username = "buildbot";
|
||||
};
|
||||
cors.allowedOrigin = "*.forkos.org";
|
||||
cors.allowedOrigin = "cl.forkos.org";
|
||||
projects = [
|
||||
"buildbot-test"
|
||||
"nixpkgs"
|
||||
|
|
Loading…
Reference in a new issue