Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] 集成到自研平台后,因maxkb大量引用外部js、css资源导致审核不通过,被迫下线 #585

Open
wivw0306 opened this issue May 31, 2024 · 4 comments
Assignees
Milestone

Comments

@wivw0306
Copy link

MaxKB 版本

v1.1.2

请描述您的需求或者改进建议

问题如题,引用外部资源问题见截图?
image

请描述你建议的实现方案

No response

附加信息

No response

@baixin513
Copy link
Contributor

升级到 v1.2.0 试一下,该版本会先请求本地的 js资源

@wivw0306
Copy link
Author

wivw0306 commented Jun 2, 2024

v1.2.0版本问题依然存在。

根本原因是前端依赖的md-editor-v3库中依赖第三方资源。如图:
image

@bobolau
Copy link

bobolau commented Jun 7, 2024

建议优化一下cdnBase的配置,全局查找将需要cdn的资源放到本地单独的cdn目录,允许部署时选择本地cdn或者在线cdn

@baixin513
Copy link
Contributor

好的,后续版本优化一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants