Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Boerger
67954b95aa
feat: replace packr and add basic cache headers
Since packr have been deprecated in favor of go:embed for quite some
time now I have replaced it with plain go:embed functionality which
makes it more future proof.

The only downside is that go:embed can use relativ paths only, that's
why I have moved the web/dist folder into api/public.

Besides that I have refactored the static asset handling which includes
basic last modification and cache control headers to improve the cache
cache behavior for static assets.
2024-03-01 15:52:30 +01:00
Denis Gukov
eb7a8b8a64 fix(ci): pass GOOS/GOARCH args to task 2022-10-27 00:32:30 +05:00
Stanislav Simovski
23fdc8550b Set version on windows taskfile
It doesn't otherwise build on windows since by default it's `1`:
```powershell
Taskfiles versions should match. First is "2" but second is "1"
```

backup
2019-07-09 16:07:10 +03:00
Denis
ea98911b8e Fix generating version.go under Windows 2018-12-11 19:32:30 +05:00
Denis
53b38a09ae Fix creating new user 2018-05-16 17:13:58 +05:00