Skip to content

Commit 3b1a972

Browse files
committed
add dashboard-demo
1 parent 7aeab37 commit 3b1a972

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

webui/build-sitemap.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ const pages = [
2323
file: './src/views/Ldap.vue',
2424
url: 'https://mokapi.io/ldap'
2525
},
26+
{
27+
file: './src/views/DashboardView.vue',
28+
url: 'https://mokapi.io/dashboard-demo'
29+
},
2630
]
2731

2832
const xmlTemplate = `

webui/ssg/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Server = require('./server');
1212
const browser = await chromium.launch();
1313

1414
async function crawl(url) {
15-
if (!url.href.startsWith('http://localhost:8025') || url.href.startsWith('http://localhost:8025/dashboard')) {
15+
if (!url.href.startsWith('http://localhost:8025') || url.href === 'http://localhost:8025/dashboard') {
1616
return
1717
}
1818
if (visited.has(url.pathname)) {

0 commit comments

Comments
 (0)