mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-19 03:26:57 +00:00
Switch GiteaApiToken from byte to string
This commit is contained in:
parent
455f65216c
commit
73da80adc1
3 changed files with 5 additions and 5 deletions
2
main.go
2
main.go
|
@ -39,7 +39,7 @@ var MainDomainSuffix = []byte("." + envOr("PAGES_DOMAIN", "codeberg.page"))
|
|||
// GiteaRoot specifies the root URL of the Gitea instance, without a trailing slash.
|
||||
var GiteaRoot = []byte(envOr("GITEA_ROOT", "https://codeberg.org"))
|
||||
|
||||
var GiteaApiToken = []byte(envOr("GITEA_API_TOKEN", ""))
|
||||
var GiteaApiToken = envOr("GITEA_API_TOKEN", "")
|
||||
|
||||
//go:embed 404.html
|
||||
var NotFoundPage []byte
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue