hedgedoc/lib/web
Philip Molares 5dbe99b4c7 ImageUpload: Fix errors with .jpeg and .svg
This checks all files that claim to be an svg (by their extension) that they really are and defines the typeFromMagic accordingly
Files that got identified as jpg, but have the extension .jpeg get their extension fixed.
The files extensions will work in all cases now.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-29 22:38:42 +02:00
..
auth Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
imageRouter ImageUpload: Fix errors with .jpeg and .svg 2021-03-29 22:38:42 +02:00
middleware Replace CodiMD with HedgeDoc 2020-11-14 21:18:36 +01:00
note Add HTTP 404 error on non-existent note downloads 2021-02-17 22:02:47 +01:00
baseRouter.js Move note actions to their own file. 2019-10-27 13:51:53 +01:00
historyRouter.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
statusRouter.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
userRouter.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
utils.js Allow posting new note with content 2018-01-18 10:41:58 +01:00