api/security: implement api keys as method of authentication
This commit is contained in:
@@ -5,12 +5,19 @@ function t(color, tt) {
|
||||
export function Bright(tt) {
|
||||
return t("\x1b[1m", tt)
|
||||
}
|
||||
|
||||
export function Red(tt) {
|
||||
return t("\x1b[31m", tt)
|
||||
}
|
||||
|
||||
export function Green(tt) {
|
||||
return t("\x1b[32m", tt)
|
||||
}
|
||||
|
||||
export function Cyan(tt) {
|
||||
return t("\x1b[36m", tt)
|
||||
}
|
||||
|
||||
export function Yellow(tt) {
|
||||
return t("\x1b[93m", tt)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user