Skip to content

Commit

Permalink
Merge pull request #348 from DNO-inc/dev
Browse files Browse the repository at this point in the history
fix configs
  • Loading branch information
m-o-d-e-r authored May 26, 2024
2 parents 071767d + 622404a commit 6e760e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nginx/cors_headers.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, PUT, PATCH, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain; charset=utf-8';
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ readme = "README.md"
python = "^3.10"
anyio = "^3.6.2"
distro = "^1.8.0"
fastapi = "^0.106.0"
fastapi = "^0.111.0"
h11 = "^0.14.0"
idna = "^3.4"
peewee = "^3.16.0"
pydantic = "^1.10.7"
sniffio = "^1.3.0"
starlette = "^0.27.0"
starlette = "^0.37.2"
typing-extensions = "^4.5.0"
uvicorn = "^0.29.0"
requests = "^2.28.2"
Expand Down

0 comments on commit 6e760e4

Please sign in to comment.