Default path to be considered home

pull/7803/head
Kamran Ahmed 2 weeks ago
parent d8466634a1
commit dc2142dde0
  1. 2
      src/lib/browser.ts

@ -7,7 +7,7 @@ export function urlToId(url: string) {
.replace(/\/$/, '')
.replace(/^\//, '')
.replace(/[^a-zA-Z0-9]/g, '-')
.toLowerCase();
.toLowerCase() || 'home';
}
const LAST_PATH_KEY = 'lastPage';

Loading…
Cancel
Save