diff options
| author | Leitwolf11 | 2026-10-29 13:20:18 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-10-29 13:20:18 +0300 |
| commit | 06b384e0b46aa74c36e48dbe86e0e453d975d012 (patch) | |
| tree | 10244f70235f13e707736cdbf411383f3c2ab023 /apps/api | |
| parent | 4b414909ac818a9178d72ffa6e1c396d5fa27a59 (diff) | |
| download | progmaweb-06b384e0b46aa74c36e48dbe86e0e453d975d012.tar.gz | |
Let the API answer for viget.progmasoft.com
Nginx passes https://viget.progmasoft.com/dslplugins/tazel/<Publisher>/<Name>/index.json
to the API with the host of the request, and host filtering refused it with
400: viget.progmasoft.com was missing from AllowedHosts. The index is what
Tazel reads to download a plugin.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'apps/api')
| -rw-r--r-- | apps/api/appsettings.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/api/appsettings.json b/apps/api/appsettings.json index 4ddc9e9..401913e 100644 --- a/apps/api/appsettings.json +++ b/apps/api/appsettings.json @@ -5,7 +5,7 @@ "Microsoft.AspNetCore": "Warning" } }, - "AllowedHosts": "localhost;127.0.0.1;progmasoft.com;account.progmasoft.com;www.progmasoft.com;credentials.progmasoft.com;authorize.progmasoft.com;console.progmasoft.com", + "AllowedHosts": "localhost;127.0.0.1;progmasoft.com;account.progmasoft.com;www.progmasoft.com;credentials.progmasoft.com;authorize.progmasoft.com;console.progmasoft.com;viget.progmasoft.com", "AccountSessions": { "LifetimeHours": 720, "CookieName": "__Secure-ProgmasoftSession", |