Skip to content

Commit 0e038d5

Browse files
fix lint
1 parent efffa55 commit 0e038d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jio-navbar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class Navbar extends LitElement {
8888

8989
private getDocsUrl(originalPath: string): string {
9090

91-
const cleanPath = originalPath.replace(/^https?:\/\/[^\/]+/, '').split(/[#?]/)[0];
91+
const cleanPath = originalPath.replace(/^https?:\/\/[^/]+/, '').split(/[#?]/)[0];
9292
const docMappings: Record<string, {path: string, versioned: boolean}> = {
9393
// User Guide sections (versioned)
9494
'/doc/book': {path: '/user-docs', versioned: true},

0 commit comments

Comments
 (0)