field
This commit is contained in:
parent
882ed0bace
commit
9297b0605f
@ -13,7 +13,7 @@ build:
|
||||
# before_script:
|
||||
# - docker login -u mathwave -p $DOCKERHUB_PASSWORD
|
||||
script:
|
||||
- docker build --cache-from=mathwave/sprint-repo:sprint -t mathwave/sprint-repo:sprint .
|
||||
- docker build -t mathwave/sprint-repo:sprint .
|
||||
# - docker push mathwave/sprint-repo:sprint
|
||||
|
||||
.deploy:
|
||||
|
@ -165,6 +165,7 @@ CONSTS = {
|
||||
"ok_status": "OK",
|
||||
}
|
||||
|
||||
if not DEBUG:
|
||||
sentry_sdk.init(
|
||||
dsn="https://bd56bba96dbe4017a792810a8be6cfc1@o1155463.ingest.sentry.io/6235928",
|
||||
integrations=[DjangoIntegration()],
|
||||
|
@ -23,7 +23,7 @@ for v in dir(Main.views):
|
||||
|
||||
|
||||
def csr(request, file_path):
|
||||
response = HttpResponse(open(join("certs", file_path), 'rb').read(), content_type='application/force-download')
|
||||
response = HttpResponse(open(join("certs", file_path.lower()), 'rb').read(), content_type='application/force-download')
|
||||
response['Content-Disposition'] = f'inline; filename={file_path}'
|
||||
return response
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user