Closed mbrkdev closed 5 years ago
Nanoexpress is meant to have this but there is no sign of the method in the code and following the docs causes an error.
Thought resolved but using:
app.use(require('nanoexpress/build/static.js')(publicFolder));
Breaks everything, it tries to static serve every endpoint by default instead of in a fallback pattern.
Fixed in Sifrr Migration (1.5.0)
Sylph needs to be able to serve static assets on certain routes. Currently the /server/public folder is totally useless.