编辑器上传文件跨域 #9

This commit is contained in:
小海
2020-04-22 15:20:08 +08:00
parent d67f2ed7ca
commit 1f4b447a74
2 changed files with 29 additions and 1 deletions

View File

@@ -23,5 +23,5 @@ export class EditorConfig {
public imageUpload = true;
public imageFormats = ['jpg', 'jpeg', 'gif', 'png', 'bmp', 'webp'];
public imageUploadURL = environment.host + '/imgUpload';
public useAjaxToUploadImg = true
}