CLI Loading server stats and traces

This commit is contained in:
2024-10-01 23:33:18 +08:00
parent 632d37caf5
commit f66f144f2e
9 changed files with 208 additions and 6 deletions

View File

@ -1,4 +1,4 @@
export function createAuthHeader(username: string, password: string) {
export function createAuthHeader(password: string, username: string = "RoadSign CLI") {
const credentials = Buffer.from(`${username}:${password}`).toString("base64")
return `Basic ${credentials}`
}