add cors rules

This commit is contained in:
F4ilji
2026-01-09 19:07:51 +05:00
parent 596e14feee
commit 1f61601e05
3 changed files with 11 additions and 7 deletions
-1
View File
@@ -21,7 +21,6 @@ server {
root /var/www/public;
location / {
add_header Access-Control-Allow-Origin *; # Заголовок для CORS
try_files $uri /index.php?$args; # Обработка запросов
}