Commit 036eae49 authored by Daniel Perez's avatar Daniel Perez
Browse files

Reverting change in swagger

parent 3e7a9fb8
Pipeline #34664 passed with stages
in 5 minutes and 53 seconds
......@@ -78,7 +78,7 @@ export class Server {
this.app.disable('x-powered-by');
this.app.use(cors(this.corsOptions));
this.app.options('*', cors());
this.app.use('/seistore-svc/api/v3/swagger-ui.html', swaggerUi.serve, swaggerUi.setup(swaggerDocument));
this.app.use('/seistore-svc/api/v3/swagger-ui.html',swaggerUi.serve, swaggerUi.setup(swaggerDocument));
this.app.use((req: express.Request, res: express.Response, next: express.NextFunction) => {
// not required anymore - to verify
......
......@@ -49,9 +49,7 @@ export class Response {
'Cache-Control': 'no-cache, no-store, must-revalidate',
'Content-Security-Policy': 'script-src \'self\' \'' +
'sha256-/jDKvbQ8cdux+c5epDIqkjHbXDaIY8RucT1PmAe8FG4=\' \'' +
'sha256-Zs5IcTe3sZcSKyWwfnpj4Arf2O14pmf4PcoigyHlHK8=\'' +
'default-src \'self\' \'' +
'sha256-BeXIQk2DxxoDrgnnoH683KOnlwQvO0HH1fT4VFQTi8g=\'',
'sha256-Zs5IcTe3sZcSKyWwfnpj4Arf2O14pmf4PcoigyHlHK8=\'',
'Expires': '0',
'Service-Provider': Config.CLOUDPROVIDER,
'Strict-Transport-Security': 'max-age=31536000; includeSubDomains',
......
......@@ -76,9 +76,7 @@ export class TestResponseSHD {
'Cache-Control': 'no-cache, no-store, must-revalidate',
'Content-Security-Policy': 'script-src \'self\' \'' +
'sha256-/jDKvbQ8cdux+c5epDIqkjHbXDaIY8RucT1PmAe8FG4=\' \'' +
'sha256-Zs5IcTe3sZcSKyWwfnpj4Arf2O14pmf4PcoigyHlHK8=\'' +
'default-src \'self\' \'' +
'sha256-BeXIQk2DxxoDrgnnoH683KOnlwQvO0HH1fT4VFQTi8g=\'',
'sha256-Zs5IcTe3sZcSKyWwfnpj4Arf2O14pmf4PcoigyHlHK8=\'',
'Expires': '0',
'Service-Provider': Config.CLOUDPROVIDER,
'Strict-Transport-Security': 'max-age=31536000; includeSubDomains',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment