Rename app to h-player
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user