updated defaults
This commit is contained in:
parent
672553cdf1
commit
43038d3983
|
|
@ -40,7 +40,7 @@ interface Config {
|
|||
musicDir: string;
|
||||
allowGuests: boolean;
|
||||
defaultPermissions: {
|
||||
channel?: string[];
|
||||
channel?: string["listen", "control"];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -49,7 +49,8 @@ const CONFIG_PATH = join(import.meta.dir, "config.json");
|
|||
const DEFAULT_CONFIG: Config = {
|
||||
port: 3001,
|
||||
musicDir: "./music",
|
||||
allowGuests: true
|
||||
allowGuests: true,
|
||||
defaultPermissions: ['']
|
||||
};
|
||||
|
||||
// Create default config if missing
|
||||
|
|
|
|||
Loading…
Reference in New Issue