Server now works and compiles

This commit is contained in:
YourWishes committed 2018-07-01 11:17:29 +10:00
1 parent 05f3e4a51e
commit 7ef7ee6d35
7 files changed
+195 -21

No files matched your search

@@ -41,7 +41,7 @@ import Window95, {
const ExistingWorkFrame = (props) => {
let fakeURL = props.href;
if(!fakeURL.startsWith("http")) {
if(!fakeURL.startsWith("http") && typeof window !== typeof undefined) {
fakeURL = window.location.protocol + fakeURL;
}