Wrote a proper env file system
Some checks failed
ci/woodpecker/push/deploy unknown status
ci/woodpecker/push/docker unknown status
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Jef Roosens 2022-02-21 20:40:13 +01:00
parent d6e71e9a1c
commit 1d434db166
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
8 changed files with 128 additions and 56 deletions

View file

@ -7,5 +7,5 @@ fn (mut app App) is_authorized() bool {
return false
}
return x_header.trim_space() == app.api_key
return x_header.trim_space() == app.conf.api_key
}