Commit 17b62b01 authored by Daniel Perez's avatar Daniel Perez
Browse files

Removing top bar

parent 036eae49
Pipeline #34686 passed with stages
in 5 minutes and 42 seconds
......@@ -16,8 +16,8 @@
"test-coverage": "env UTEST=true nyc mocha -r ts-node/register --reporter mocha-junit-reporter tests/utest/test.ts",
"test-automation": "npm run clean && npm install && npm run build && npm run test-coverage",
"test-e2e-parallel": "node ./tests/e2e/parallel/run_e2e_tests_parallel.js",
"copyStaticFiles": "copyfiles --error --up 1 ./docs/api/openapi.osdu.yaml ./dist/docs",
"postbuild": "npm run copyStaticFiles"
"copy-static-files": "copyfiles --error --up 1 ./docs/api/openapi.osdu.yaml ./dist/docs",
"postbuild": "npm run copy-static-files"
},
"nyc": {
"include": [
......
......@@ -78,7 +78,9 @@ 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,{
customCss: '.swagger-ui .topbar { display: none }'
}));
this.app.use((req: express.Request, res: express.Response, next: express.NextFunction) => {
// not required anymore - to verify
......
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