Browse Source

Fix hard coded path

file-group-page
bat 3 years ago
parent
commit
ba143a08e1
  1. 5
      components/layout.js

5
components/layout.js

@ -47,7 +47,10 @@ export class Layout extends HTMLElement {
} }
get path() { get path() {
return '/hello' return new URL(
window.location.hash.slice(1) || '/',
window.location
).pathname
} }
set editing(value) { set editing(value) {

Loading…
Cancel
Save