-
Notifications
You must be signed in to change notification settings - Fork 117
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
Serve the full website #36
Comments
@niicojs It makes sense for me. I'll use your fork unless/until there is an alternative. |
There are many different ways people serve their app depending on the framework, setup, etc. etc. etc. I'd suggest an approach like this https://github.com/netlify/netlify-faunadb-example/blob/master/package.json#L15-L17 Where you can use If you clone down that repo, |
Thanks for the suggestion @DavidWells. In my specific case I'm not using react or webpack and don't want those additional dependencies just to proxy requests. I'm using browsersync for serving static files and can proxy netlify-lambda functions locally, but without native rewrite support. This makes niicojs' idea/fork useful to me. |
@sparkalow if you're still looking for alternatives, I've written 8eecf0d2/netlify-local to support more Netlify services locally, namely the static file server for the |
I think it would be better to:
/.netlify/functions/
path)I did it here for personal use, I can PR it if it make sense for others.
The text was updated successfully, but these errors were encountered: