From f7551e6b30231b95b1832e712595931e6a2035e0 Mon Sep 17 00:00:00 2001 From: bat Date: Thu, 2 Mar 2023 08:36:45 +0000 Subject: [PATCH] Actualizar 'components/project.js' --- components/project.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')