refactor: rename HOST_* env vars to SLHAF_HUB_* across CLI/TUI, security, docs, and compose

This commit is contained in:
2026-02-25 13:59:27 +08:00
parent ff012c3b9a
commit 757af8d89b
6 changed files with 20 additions and 20 deletions

View File

@@ -8,7 +8,7 @@ import io.ktor.server.response.respondText
import java.io.File
import java.security.SecureRandom
private const val ENV_API_TOKEN = "HOST_API_TOKEN"
private const val ENV_API_TOKEN = "SLHAF_HUB_TOKEN"
private const val TOKEN_FILE_NAME = ".host-api-token"
private const val SUBTOKEN_FILE_NAME = ".host-subtokens.db"
private const val ALT_TOKEN_HEADER = "X-Host-Token"