forked from vieter-v/vieter
Wrote a proper env file system
This commit is contained in:
parent
d6e71e9a1c
commit
1d434db166
8 changed files with 128 additions and 56 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue