Rename app to h-player

This commit is contained in:
Dymas
2026-09-15 15:23:28 +02:00
parent b0690edb2a
commit e191bf3b7b
7 changed files with 20 additions and 13 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ function send(res, status, body, type = "application/json") {
function unauthorized(res) {
res.writeHead(401, {
"www-authenticate": 'Basic realm="Private Library"',
"www-authenticate": 'Basic realm="h-player"',
"content-type": "text/plain; charset=utf-8",
"cache-control": "no-store"
});
@@ -474,7 +474,7 @@ ensureStorage()
process.exit(1);
});
server.listen(PORT, HOST, () => {
console.log(`Private library listening on http://${HOST}:${PORT}`);
console.log(`h-player listening on http://${HOST}:${PORT}`);
console.log(`Library: ${LIBRARY_DIR}`);
console.log(`Database: ${DB_FILE}`);
if (AUTH_USERNAME || AUTH_PASSWORD) console.log("Basic authentication is enabled");