hedgedoc/public
Erik Michelson 0093aa4783 Fix GitLab snippet export
The snippet export broke due to two reasons.
First of all, the request to GitLab fail in the
default configuration due to the CSP not being
set properly. This commit adds the configured
GitLab base url to the connect-src directives.
The second problem is a change in the GitLab API
spec. Instead of `code` and `file_name` the
GitLab API now requires an `files` array with
`content` and `file_path` entries per snippet.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-04-10 21:24:30 +02:00
..
banner Replace CodiMD with HedgeDoc 2020-11-14 21:18:36 +01:00
css Ignore local installed fonts 2021-08-18 22:47:22 +02:00
docs Fix GitLab snippet export 2022-04-10 21:24:30 +02:00
fonts
icons apply review suggestions 2020-11-15 20:12:39 +01:00
js Fix GitLab snippet export 2022-04-10 21:24:30 +02:00
uploads
vendor Fix missing inline authorship colors 2022-04-08 12:13:37 +02:00
views Improve aria tags for view mode labels 2022-04-03 22:40:07 +02:00
.eslintrc.js Fix missing inline authorship colors 2022-04-08 12:13:37 +02:00
default.md
screenshot.png Updated screenshot 2020-11-17 11:13:58 +01:00