Skip to content
Snippets Groups Projects
Commit 878ec45f authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

set paths

parent eb4fc8c4
No related branches found
No related tags found
1 merge request!554fix url
...@@ -78,7 +78,7 @@ export class AppComponent implements OnInit { ...@@ -78,7 +78,7 @@ export class AppComponent implements OnInit {
this.title = (spec.info as Record<string, string>)?.title; this.title = (spec.info as Record<string, string>)?.title;
} }
if (spec && spec.paths) { if (spec && spec.paths) {
const newPaths: Record<string, string> = {}; const newPaths = spec.paths as Record<string, string>;
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
Object.entries(spec.paths).forEach(([path, value]) => { Object.entries(spec.paths).forEach(([path, value]) => {
if (!path.includes(contextPath)) { if (!path.includes(contextPath)) {
......
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