I’m trying to use statics with a Node app.
I thought the buildpack would copy the Node app into an
/app folder but this doesn’t work and I’m getting 404 errors:
guest_path = "/app/src/server/static"
url_prefix = "/"
AFAIK Fly is using Heroku buildpacks and from all the references I’ve seen on Github, it seems like the work dir should indeed be
Indeed the work dir is
/app but the statics just don’t work.
I’ve tried using
guest_path = "./app/src/server/static" but it didn’t work either.
I ended up doing a console.log() and the workdir is
Hopefully this will save others some time.