Skip to content

Comments

Update utils.ts - fix for Firefox#574

Open
ai-petri wants to merge 1 commit intor-wasm:mainfrom
ai-petri:patch-1
Open

Update utils.ts - fix for Firefox#574
ai-petri wants to merge 1 commit intor-wasm:mainfrom
ai-petri:patch-1

Conversation

@ai-petri
Copy link

in Firefox, if page is loaded using "file://" protocol, location.origin is "null", which causes an error: "URL constructor: null is not a valid URL."

in Firefox, if page is loaded using "file://" protocol, location.origin is "null", which causes an error: "URL constructor: null is not a valid URL."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant