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

Bug/share link #136

Merged
merged 4 commits into from
Sep 3, 2022
Merged

Bug/share link #136

merged 4 commits into from
Sep 3, 2022

Conversation

yuvalg99
Copy link
Contributor

@yuvalg99 yuvalg99 commented Sep 2, 2022

The Problem
I noticed that while running jsoncrack.com on Dockefile, the share link is pointing to jsoncrack.com, instead of my instance that running on localhost:8888.

image

The Fix
To fix that I created environment variable that is given in build time. The environment variable contains the host it running on. If the environment variable is not found its points to jsoncrack.com (in the package.json's homepage).

image

@AykutSarac AykutSarac merged commit 16ee461 into AykutSarac:main Sep 3, 2022
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.

2 participants