mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-10-12 20:49:53 +08:00
chore: refresh package-lock.json and tidy leftovers from the merge
- package-lock.json regenerated for the removed dependencies, dotenv and the devDependency move of @opennextjs/cloudflare - lib/admin: SettingType and getSettingsPath are file-internal - components/chat/chat-engine.tsx: comment no longer mentions click counts
This commit is contained in:
@@ -32,7 +32,7 @@ globalState.__adminSettingsState ??= {
|
||||
}
|
||||
const state = globalState.__adminSettingsState
|
||||
|
||||
export function getSettingsPath(): string {
|
||||
function getSettingsPath(): string {
|
||||
const custom = process.env.SETTINGS_FILE
|
||||
if (custom && custom.trim().length > 0) return custom
|
||||
return path.join(process.cwd(), "data", "settings.json")
|
||||
|
||||
Reference in New Issue
Block a user