mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-27 09:09:29 +01:00
19 lines
405 B
TypeScript
Executable File
19 lines
405 B
TypeScript
Executable File
#!/usr/bin/env -S deno --allow-all
|
|
|
|
async function setupNavidrome() {
|
|
console.log("setting up navidrome...");
|
|
|
|
await fetch("http://navidrome:4533/auth/createAdmin", {
|
|
method: "POST",
|
|
headers: { "Content-Type": "application/json" },
|
|
body: JSON.stringify({
|
|
username: "admin",
|
|
password: "password",
|
|
}),
|
|
});
|
|
}
|
|
|
|
await setupNavidrome();
|
|
|
|
console.log("setup-servers complete");
|