mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-05-08 21:48:20 +00:00
Merge branch 'refactor/use-database-for-session-managemnet' of https://github.com/siteboon/claudecodeui into refactor/use-database-for-session-managemnet
This commit is contained in:
@@ -85,8 +85,6 @@ const installMode = fs.existsSync(path.join(APP_ROOT, '.git')) ? 'git' : 'npm';
|
||||
|
||||
console.log('SERVER_PORT from env:', process.env.SERVER_PORT);
|
||||
|
||||
const VALID_PROVIDERS = ['claude', 'codex', 'cursor', 'gemini'];
|
||||
|
||||
const app = express();
|
||||
const server = http.createServer(app);
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ export const notificationPreferencesDb = {
|
||||
return defaults;
|
||||
}
|
||||
|
||||
let parsed: unknown = DEFAULT_NOTIFICATION_PREFERENCES;
|
||||
let parsed: unknown;
|
||||
try {
|
||||
parsed = JSON.parse(row.preferences_json);
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user