Changeset 942028f in Klonkt for src/server.js
- Timestamp:
- 06/14/2026 04:01:38 AM (3 months ago)
- Branches:
- main
- Children:
- 2b52bfb
- Parents:
- 9b36f45
- File:
-
- 1 edited
-
src/server.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/server.js
r9b36f45 r942028f 118 118 app.use('/media', express.static(process.env.MEDIA_PATH || './storage/media')); 119 119 120 // P64 — TWA / digital-asset-links: must be served at /.well-known/assetlinks.json 121 // at the site root with Content-Type: application/json. Without this Android 122 // shows the URL bar inside the installed PrutFolio app. 123 app.get('/.well-known/assetlinks.json', (req, res) => { 124 res.type('application/json').sendFile( 125 path.join(__dirname, 'assets', '.well-known', 'assetlinks.json') 126 ); 127 }); 120 // (Verwijderd) TWA / digital-asset-links — alleen nodig voor de APK/TWA-variant. 121 // Klonkt is PWA-only; geen assetlinks.json meer. 128 122 129 123 initializeDatabase();
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)