Merge pull request #1494 from SkynetLabs/abuse-report-endpoints-path-fix

fix /abuse endpoint
This commit is contained in:
Karol Wypchło 2021-12-21 16:32:23 +01:00 committed by GitHub
commit 25bd31d679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -106,12 +106,7 @@ location /health-check {
} }
location /abuse { location /abuse {
include /etc/nginx/conf.d/include/cors; return 308 /0404guluqu38oaqapku91ed11kbhkge55smh9lhjukmlrj37lfpm8no/;
set $skylink "0404guluqu38oaqapku91ed11kbhkge55smh9lhjukmlrj37lfpm8no";
set $path $uri;
include /etc/nginx/conf.d/include/location-skylink;
} }
location /abuse/report { location /abuse/report {