Changeset 5f43245 in Klonkt
- Timestamp:
- 06/16/2026 04:05:27 AM (3 months ago)
- Branches:
- main
- Children:
- a742e9f
- Parents:
- 00d54bc
- File:
-
- 1 edited
-
src/server.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/server.js
r00d54bc r5f43245 125 125 if (!isDev) app.set('trust proxy', 1); 126 126 127 // Schema aanmaken/bijwerken VÓÓR iets de DB aanraakt: de session-store doet 128 // bij constructie al een query op de `sessions`-tabel, dus bij een verse 129 // install moeten de tabellen eerst bestaan (anders: "no such table: sessions" 130 // → crash-loop op de allereerste boot). 131 initializeDatabase(); 132 127 133 // Session middleware extracted into a variable so the WebSocket upgrade 128 134 // handler can reuse it (it needs req.session to authenticate sockets). … … 147 153 // (Verwijderd) TWA / digital-asset-links — alleen nodig voor de APK/TWA-variant. 148 154 // Klonkt is PWA-only; geen assetlinks.json meer. 149 150 initializeDatabase();151 155 152 156 // Cirkels: periodieke achtergrond-sync van remote instances (no-op tenzij tenancy='circle').
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)