Skip to content

Conversation

@rrooij
Copy link
Contributor

@rrooij rrooij commented Sep 13, 2022

Previously the local dashboard builds were hard-compiled to use localhost:6363. This creates the problem that if the user chooses a different port, the dashboard will stop working as it still tries to connect to localhost:6363 instead. Therefore I use the window.url.origin to determine where the dashboard is served if the ENV variable is not provided.

Previously the local dashboard builds were hard-compiled
to use localhost:6363. This creates the problem that if
the user chooses a different port, the dashboard will
stop working as it still tries to connect to localhost:6363
instead. Therefore I use the window.url.origin to determine
where the dashboard is served if the ENV variable is not
provided.
@Francesca-Bit Francesca-Bit merged commit bbf29f3 into main Sep 13, 2022
@Francesca-Bit Francesca-Bit deleted the dynamic_url branch September 13, 2022 10:37
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.

3 participants