heroku / heroku-buildpack-static

[DEPRECATED] Heroku buildpack for handling static sites and single page web apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Impossible to set "root": "/"

cooperka opened this issue · comments

I'd hypothetically like to serve all my assets statically; there's nothing private here.

Setting "root": "/" causes everything to mysteriously 404 with no explanation.

I had the same issue recently. Try "root": "." instead - worked for me.

if the root is . or /, I dont think you need this build pack. You can try another way like this:
https://gist.github.com/wh1tney/2ad13aa5fbdd83f6a489

Hi

This buildpack is now deprecated and we are recommending people move the more actively maintained heroku-buildpack-nginx. For migration advice see here.

As such, I'm closing this issue out since we won't be making further changes to this buildpack.