-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Description
My electron app runs fine in dev mode (electron-forge start) but throws when running the exe on the following line:

The problem is that e is empty (''), and so the new URL throws with
TypeError: Failed to construct 'URL': Invalid URL
Technical Information
I'm 99% sure the offending line calling this function is this one:
| {urlToIcon(document.referrer)} |
The debug console confirms that document.referrer is "".
This could be fixed by changing
js-3id/apps/management/src/utils.ts
Line 38 in 238b6ee
| const parsed = new URL(url) |
I would be happy to put up a PR if necessary, cause this is bit of a blocker for me and seems to be quite simple to fix.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels