Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: changed client code to dynamically call domain in address bar #217

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ranguna
Copy link

@Ranguna Ranguna commented Oct 9, 2022

To avoid fiddly code fetching the current protocol, domain and port from the window, one can simply use the path and the browser will automatically call the protocol://domain:port/ in the browser's address.

@@ -20,6 +20,7 @@ import { IpcEvents } from '../../main/IpcEvents.enum';

const { port } = config;

// can the comment bellow be removed? Because the port is being defined in the config file, although it can't be changed after bundling I think
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question for the maintainer ☝️

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