-
Notifications
You must be signed in to change notification settings - Fork 10
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
Make gondle examples work again #94
Labels
help wanted
Extra attention is needed
Comments
stefanibus
pushed a commit
to stefanibus/gondel
that referenced
this issue
Oct 18, 2023
solves Issue merkle-open#94 (The examples no longer work in CodeSandbox environments.) We need to add the allowedhosts-flag to devServer-settings for webpack.config: devServer-config to solve "Invalid Host header Issue" on CodeSandBox: codesandbox/codesandbox-client#3392 and https://stackoverflow.com/a/43647767 and https://codesandbox.io/docs/learn/repositories/task#configuring-task-ports https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#firewall https://webpack.js.org/configuration/dev-server/#devserverallowedhosts firewall: false, // failed while testing disableHostCheck: true, // failed while testing allowedHosts: This flag finally solved it
stefanibus
pushed a commit
to stefanibus/gondel
that referenced
this issue
Oct 20, 2023
solves Issue merkle-open#94 (The examples no longer work in CodeSandbox environments.) We need to add the allowedhosts-flag to devServer-settings for webpack.config: devServer-config to solve "Invalid Host header Issue" on CodeSandBox: codesandbox/codesandbox-client#3392 and https://stackoverflow.com/a/43647767 and https://codesandbox.io/docs/learn/repositories/task#configuring-task-ports https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#firewall https://webpack.js.org/configuration/dev-server/#devserverallowedhosts firewall: false, // failed while testing disableHostCheck: true, // failed while testing allowedHosts: This flag finally solved it
This fix solved most of the issues. Most examples work again, thanks a lot @stefanibus There remain two other problems: module not found:
tsconfig.json |
All examples now work again. Great. Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue:
The examples no longer work in CodeSandbox environments.
Current Error message: "Invalid Host Header"
Current solution:
The examples are pulled directly from the GitHub repo (CodeSandbox pulls from master branch).
However, Code-Sandbox is constantly being modified, so these examples are currently no longer working.
Wanted
Maybe we'll get this solution working again.
Also ideas are welcome for alternative solutions.
The text was updated successfully, but these errors were encountered: