Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Seismic
Seismic DMS Suite
seismic-dms-service
Commits
d13fb889
Commit
d13fb889
authored
Apr 30, 2021
by
Diego Molteni
Browse files
removed content security policy
parent
65ee1cfd
Pipeline
#38774
failed with stages
in 2 minutes and 10 seconds
Changes
1
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
src/shared/response.ts
View file @
d13fb889
...
...
@@ -47,9 +47,6 @@ export class Response {
public
static
write
(
res
:
expResponse
,
code
:
number
,
data
:
any
=
{})
{
res
.
set
({
'
Cache-Control
'
:
'
no-cache, no-store, must-revalidate
'
,
'
Content-Security-Policy
'
:
'
script-src
\'
self
\'
\'
'
+
'
sha256-/jDKvbQ8cdux+c5epDIqkjHbXDaIY8RucT1PmAe8FG4=
\'
\'
'
+
'
sha256-Zs5IcTe3sZcSKyWwfnpj4Arf2O14pmf4PcoigyHlHK8=
\'
'
,
'
Expires
'
:
'
0
'
,
'
Service-Provider
'
:
Config
.
CLOUDPROVIDER
,
'
Strict-Transport-Security
'
:
'
max-age=31536000; includeSubDomains
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment