updated defaults

This commit is contained in:
peterino2 2026-02-03 08:36:00 -08:00
parent 672553cdf1
commit 43038d3983
1 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,7 @@ interface Config {
musicDir: string; musicDir: string;
allowGuests: boolean; allowGuests: boolean;
defaultPermissions: { defaultPermissions: {
channel?: string[]; channel?: string["listen", "control"];
}; };
} }
@ -49,7 +49,8 @@ const CONFIG_PATH = join(import.meta.dir, "config.json");
const DEFAULT_CONFIG: Config = { const DEFAULT_CONFIG: Config = {
port: 3001, port: 3001,
musicDir: "./music", musicDir: "./music",
allowGuests: true allowGuests: true,
defaultPermissions: ['']
}; };
// Create default config if missing // Create default config if missing