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

npm run-script build routes failing #66

Open
AcidLeroy opened this issue Jul 26, 2018 · 0 comments
Open

npm run-script build routes failing #66

AcidLeroy opened this issue Jul 26, 2018 · 0 comments

Comments

@AcidLeroy
Copy link

I recently attempted to build my choo project using the command npm run-script build. When I ran my server on the files that were generated in the dist directory, none of my dynamic routes worked. I.e. have a route with something like app.route('/:user', user). This works great in dev, but after running my http server on the dist directory and attempt to go to a route I get Error code: 404, file not found. To run my http server I am using the following command in the dist directory: python -m simpleHttpServer 8000. Any clues on how to solve this issue?

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

1 participant