laravel-u-editor icon indicating copy to clipboard operation
laravel-u-editor copied to clipboard

跨域 的jsonp 请求 报错

Open jimb55 opened this issue 7 years ago • 1 comments

GET http://xxxx:2222/laravel-u-editor-server/server?action=config&callback=bd__editor__vpkvby

返回的是 {image:...},不是应该返回bd__editor__vpkvby({image:...})吗? laravel-u-editor/src/Controller.php@server case 'config': $result = $config; break;

jimb55 avatar Mar 06 '17 04:03 jimb55

我也遇到同样的问题。但是我返回的是bd__editor__vpkvby({image:...}),感觉返回的没错,但是前端控制台报了一个错误:because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

pengxianggui avatar Apr 21 '18 05:04 pengxianggui