diff --git a/components/project.js b/components/project.js index 5bc6e9e..9fed33e 100644 --- a/components/project.js +++ b/components/project.js @@ -4,7 +4,7 @@ export class Project extends HTMLElement { const shadow = this.attachShadow({mode: 'open'}) const textArea = document.createElement('textarea') const path = new URL( - window.location.hash || '/', + window.location.hash.slice(1) || '/', window.location ).pathname const header = document.createElement('h1')