add release compile flag for mapping mime types

This commit is contained in:
2026-05-29 16:35:12 +00:00
parent 9b7404c8d6
commit fc58861046
3 changed files with 60 additions and 43 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build: clean
@echo "======================== Building Binary ======================="
# resolve symbolic links in web by copying it into dist/web/
cp -rL web/ dist/web/
CGO_ENABLED=0 go build -ldflags="-s -w" -v -o dist/ .
CGO_ENABLED=0 go build -tags release -ldflags="-s -w" -v -o dist/ .
test: clean
go run .