You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't looked at this code in a bit, so I might be wrong about this.
There is nothing telling Rocket what file to render. It's a headless backend and only really serves JSON. It doesn't handle routing or serving html files. That's all done within Elm and Gulp which creates a server (powered by Node/NPM) here. So when you run this app, you're really running two servers: one that handles the frontend serving (elm), and one that handles the backend (rust).
I haven't released this to production but if you were, I would think that the static elm files should be served via an Nginx reverse proxy or something similar.
It seems that no code tell the app dir to rocket, and function index can use public directly?
The text was updated successfully, but these errors were encountered: