Changeset 4c5169f in Klonkt for src/routes/admin-settings.js
- Timestamp:
- 06/14/2026 03:37:12 PM (3 months ago)
- Branches:
- main
- Children:
- 337ec5a
- Parents:
- 6e0249f
- File:
-
- 1 edited
-
src/routes/admin-settings.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/admin-settings.js
r6e0249f r4c5169f 26 26 hubTagline: getSetting('hub_tagline') || '', 27 27 hubIntro: getSetting('hub_intro') || '', 28 hubHeroImage: getSetting('hub_hero_image') || '', 28 29 success: req.query.success || null, 29 30 }); … … 43 44 setSetting('hub_intro', (req.body.hub_intro || '').toString().slice(0, 400).trim()); 44 45 } 46 if (typeof req.body.hub_hero_image !== 'undefined') { 47 setSetting('hub_hero_image', (req.body.hub_hero_image || '').toString().slice(0, 300).trim()); 48 } 45 49 res.redirect('/admin/settings?success=' + encodeURIComponent('Opgeslagen')); 46 50 });
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)