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

子系统的静态资源无法加载 #866

Closed
Tall888 opened this issue Jun 14, 2024 · 1 comment
Closed

子系统的静态资源无法加载 #866

Tall888 opened this issue Jun 14, 2024 · 1 comment

Comments

@Tall888
Copy link

Tall888 commented Jun 14, 2024

子系统依赖的一些静态资源例如图标等请求时由于子系统的页面代码中加载静态资源加载路径是/开头,与无界的基座集成后,进入子系统,发现加载静态资源时,请求的域名是基座的,而不是子系统的,造成图片等资源无法加载的问题。

@Tall888 Tall888 closed this as completed Jun 18, 2024
@Tall888
Copy link
Author

Tall888 commented Jun 18, 2024

问题已经解决了,解决方式:动态获取子系统的域名前缀,动态拼接子系统中静态资源的访问路径

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

No branches or pull requests

1 participant