anacrolix / cove

A combined BitTorrent frontend and DHT indexer for personal use
https://www.coveapp.info
34 stars 0 forks source link

Error getting static resource modtime on Windows #1

Closed anacrolix closed 1 year ago

anacrolix commented 1 year ago
2023/08/08 21:22:20 pages.go:192: open static\mustache.html: file does not exist
2023/08/08 21:22:20 pages.go:204: error getting static resource modtime for "static/site.css": open static\site.css: file does not exist
2023/08/08 21:22:20 pages.go:204: error getting static resource modtime for "static/elm.js": open static\elm.js: file does not exist
2023/08/08 21:22:20 pages.go:204: error getting static resource modtime for "static/search.js": open static\search.js: file does not exist
2023/08/08 21:22:20 pages.go:204: error getting static resource modtime for "static/site.js": open static\site.js: file does not exist

Looks like this is due to using backslashes instead of forward slashes when accessing embedded data FS.

anacrolix commented 1 year ago

Fixed in v0.0.5