fix: Configure CORS correctly

This commit is contained in:
oSumAtrIX
2024-07-11 03:50:48 +02:00
parent a7666ba29d
commit 2ed4cf3b40
3 changed files with 14 additions and 21 deletions

View File

@@ -10,5 +10,8 @@ contributors-repositories = [
"revanced-manager",
]
api-version = 1
cors = { host = "*.revanced.app", sub-domains = [] }
endpoint = "https://api.revanced.app"
cors-allowed-hosts = [
"revanced.app",
"*.revanced.app"
]
endpoint = "https://api.revanced.app"