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

Can't create links #2

Open
MrFoxyOfficial opened this issue Feb 26, 2023 · 3 comments
Open

Can't create links #2

MrFoxyOfficial opened this issue Feb 26, 2023 · 3 comments

Comments

@MrFoxyOfficial
Copy link

Hello.

I'm trying to run it localy on my windows machine and I can't seem to get it to work. I can get to the team naming section but after pressing Create room, nothing happens.

image

There's also no errors in the console
image

@sdomi4
Copy link

sdomi4 commented Feb 27, 2023

We can reproduce the issue when using the svelte dev server. If you build the app and run it with node it should work:

  1. npm install
  2. npm run build
  3. node ./build/index.js

@MrFoxyOfficial
Copy link
Author

The above steps work as planned. Didn't used the last 3rd step, as nothing was mentionied about it 😅

Now, as I said, I'm running this localy. Is it possible to set it, so it's not local but it can be accessed via public IP?

@sdomi4
Copy link

sdomi4 commented Feb 27, 2023

You can configure it to run on any IP/Port you like by setting environment variables (assuming powershell):

  • $env:HOST="0.0.0.0" to listen to any IP
  • then rerun the build with npm run build

It's worth noting running node directly exposed to the public internet is not always recommended - it's probably ok in this instance, but you may want to look into running node as a service and reverse proxies.

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

No branches or pull requests

2 participants