Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 06927267 authored by VIAUD Nathan's avatar VIAUD Nathan
Browse files

fix: images doesn't appear in WYSIWYG editor

parent 6377a7e0
Branches
Tags
1 merge request!98Resolve "WYSIWYG editor images doesn't appear"
Pipeline #894547 passed
...@@ -66,9 +66,9 @@ module.exports.setupWindow = function (window) { ...@@ -66,9 +66,9 @@ module.exports.setupWindow = function (window) {
'http://localhost:8000/assets/*', 'http://localhost:8000/assets/*',
'http://localhost:8000/images/*', 'http://localhost:8000/images/*',
'http://localhost:8000/videos/*', 'http://localhost:8000/videos/*',
`file://${encodeURI(path.join(__dirname, '../dist/assets/'))}*`, `file://${encodeURI(path.join(__dirname, '../../dist/assets/'))}*`,
`file://${encodeURI(path.join(__dirname, '../dist/images/'))}*`, `file://${encodeURI(path.join(__dirname, '../../dist/images/'))}*`,
`file://${encodeURI(path.join(__dirname, '../dist/videos/'))}*` `file://${encodeURI(path.join(__dirname, '../../dist/videos/'))}*`
] ]
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment