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

Not starting getting "Cannot GET /" #26

Open
trancen opened this issue Sep 22, 2020 · 3 comments
Open

Not starting getting "Cannot GET /" #26

trancen opened this issue Sep 22, 2020 · 3 comments

Comments

@trancen
Copy link

trancen commented Sep 22, 2020

When I start up Terrain2STL. I get the following message "Cannot GET /" going to url http://localhost:8080/

No errors on the Cli

$ node terrainServer.js
terrainServer.js starting at:
2020-09-22T19:21:00.206Z

@sharmstr
Copy link

sharmstr commented Feb 9, 2021

Did you ever figure this out? I'm having the same issue.

@DenofTranquility
Copy link

I had the same problem but then found that there is no reason to go to the server page; it is only running to provide the code execution in the background.

  1. Start the server with node terrainServer.js
  2. Load up the HTML page and generate the STL file.
    The values are passed with POST from here to the node server at localhost:8080. Provided the celvestl binary has been created with make then the file should be generated.

@ThatcherC
Copy link
Owner

Hi everyone! I've been meaning to address this issue for a while but I think I have a fix. Try pulling down the new code on the add-static-serving branch and running node terrainServer.js. You should be able to load the regular webpage at localhost:8080/ now. I've tested this locally and it seems to work well. Try it out if you get the chance and I'll merge it soon if I don't hear of any issues. Thanks for bringing this issue to my attention!

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

4 participants