Enable Forgejo CORS for tadix.dev (homepage git projects fetch)
This commit is contained in:
parent
f88d8bc51d
commit
9208326389
1 changed files with 5 additions and 0 deletions
|
|
@ -203,6 +203,11 @@ in {
|
|||
};
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
log.LEVEL = "Warn";
|
||||
cors = {
|
||||
ENABLED = true;
|
||||
ALLOW_DOMAIN = "tadix.dev";
|
||||
METHODS = "GET,HEAD,OPTIONS";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue