Changeset 8f6225c in Klonkt for src/routes/account.js
- Timestamp:
- 06/20/2026 01:57:35 AM (3 months ago)
- Branches:
- main
- Children:
- 85d5972
- Parents:
- fa08981
- File:
-
- 1 edited
-
src/routes/account.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/account.js
rfa08981 r8f6225c 25 25 import { requireAuth } from '../middleware/auth.js'; 26 26 import { googleConfigured } from '../config/google.js'; 27 import { toWebp } from '../services/ImageWebpService.js'; 27 28 28 29 const __dirname = path.dirname(fileURLToPath(import.meta.url)); … … 190 191 } 191 192 192 const url = `/media/avatars/${ req.file.filename}`;193 const url = `/media/avatars/${toWebp(req.file)}`; 193 194 194 195 // Remove the old avatar file (if it lives in our avatar dir)
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)