BuildDate, footer styling

This commit is contained in:
Carl Pearson
2024-09-20 14:01:27 -06:00
parent 5254b0eab7
commit 890565b609
5 changed files with 41 additions and 7 deletions

View File

@@ -7,7 +7,9 @@ go mod tidy
```bash
export YTDLP_SITE_ADMIN_INITIAL_PASSWORD=abc123
export YTDLP_SITE_SESSION_AUTH_KEY=v9qpt37hc4qpmhf
go run *.go
go run \
-ldflags "-X main.GitSHA=$(git rev-parse HEAD)" -ldflags "-X main.BuilDate=$(date)" \
*.go
```
## Environment Variables