kennygrant / gohackernews

Golang News - curated links about the Go programming language
https://golangnews.com
MIT License
283 stars 42 forks source link

asset caching #48

Open pjebs opened 3 years ago

pjebs commented 3 years ago

@kennygrant Every time I set assets_compiled=yes Ii get this error:

unable to compile assets error:open public/assets/styles/app-d7536eb953748f0a812f37a290903bb685b85ffc.min.css: no such file or directory

How can I address it? How should the file inside /secrets/assets.json look like? (I don't have this file but I can see from the code (fragmenta/assets repo) that it looks for it)

pjebs commented 3 years ago

When I set assets_compiled=no,

it works in local development but not in production server (and therefore js and css not getting served)