Skip to content
Snippets Groups Projects
Commit eb0036b9 authored by Daniel Göbel's avatar Daniel Göbel
Browse files

Merge branch 'feature/66-add-head-to-allowed-cors-methods' into 'development'

Resolve "Add HEAD to allowed Cors methods"

Closes #66

See merge request cmg/clowm/clowm-s3proxy-service!63
parents 66b9091c 12a7b9db
No related branches found
No related tags found
No related merge requests found
......@@ -30,8 +30,7 @@ default:
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- python -m pip install --upgrade -r requirements.txt --extra-index-url https://$CI_PACKAGE_REGISTRY_USER:$CI_PACKAGE_REGISTRY_PASSWORD@gitlab.ub.uni-bielefeld.de/api/v4/projects/5493/packages/pypi/simple
- python -m pip install --upgrade -r requirements-dev.txt
- python -m pip install --upgrade -r requirements.txt -r requirements-dev.txt
stages: # List of stages for jobs, and their order of execution
- test
......
......@@ -15,13 +15,13 @@ repos:
- id: check-merge-conflict
- id: check-ast
- repo: https://github.com/psf/black
rev: 23.10.0
rev: 23.10.1
hooks:
- id: black
files: app
args: [--check]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.1.1'
rev: 'v0.1.3'
hooks:
- id: ruff
- repo: https://github.com/PyCQA/isort
......
......@@ -42,7 +42,7 @@ cors_rule = {
"x-amz-user-agent",
"content-md5",
],
"AllowedMethods": ["GET", "PUT", "POST", "DELETE"],
"AllowedMethods": ["GET", "PUT", "POST", "DELETE", "HEAD"],
"AllowedOrigins": [str(settings.CLOWM_URL)[:-1]],
"ExposeHeaders": [
"Etag",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment