Server now works and compiles
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user