diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 94a2721..9bfb731 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ clear-old-images: entrypoint: [""] before_script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - docker images + - docker image ls script: - docker system prune -af build-app: diff --git a/default.conf b/default.conf index 14be44d..4f055ad 100644 --- a/default.conf +++ b/default.conf @@ -39,9 +39,10 @@ server { } location /heruvym/ { - #add_header Access-Control-Allow-Origin $http_origin always; + add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Headers content-type,authorization always; + add_header Access-Control-Allow-Methods OPTINOS, GET, POST, PATCH, PUT, DELETE; proxy_set_header Referer $host; proxy_set_header Origin $http_origin; proxy_set_header Connection '';