diff --git a/vercel.json b/vercel.json index 1e9c7bc..6a09ffc 100644 --- a/vercel.json +++ b/vercel.json @@ -1,3 +1,9 @@ { - "trailingSlash": true + "trailingSlash": true, + "rewrites": [ + { + "source": "/:match*", + "destination": "/:match*/" + } + ] } diff --git a/views/projects/index.html b/views/projects/index.html index 992913b..4f3165b 100755 --- a/views/projects/index.html +++ b/views/projects/index.html @@ -32,13 +32,13 @@
diff --git a/views/scripts/windows.js b/views/scripts/windows.js index d777be2..60526da 100755 --- a/views/scripts/windows.js +++ b/views/scripts/windows.js @@ -63,8 +63,7 @@ class WindowObject { } get content() { - if (srcdoc) return this.windowContent.srcdoc; - else return this.windowContent.src; + return this.windowContent.src; } set title(content) { @@ -72,8 +71,7 @@ class WindowObject { } set content(src) { - if (srcdoc) this.windowContent.srcdoc = src; - else this.windowContent.src = src; + this.windowContent.src = src; } minimizeWindow() {