mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
misc formatting
This commit is contained in:
@@ -247,7 +247,7 @@ app.use(responseTime());
|
||||
function stringToBool(str) {
|
||||
if (str === 'true') return true;
|
||||
if (str === 'false') return false;
|
||||
return str; // or throw an error
|
||||
return str;
|
||||
}
|
||||
|
||||
const server_port = cliArguments.port ?? process.env.SILLY_TAVERN_PORT ?? getConfigValue('port', DEFAULT_PORT);
|
||||
|
Reference in New Issue
Block a user