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

原来 script 标签的资源请求还可以走 302 #110

Open
yubaoquan opened this issue May 6, 2024 · 0 comments
Open

原来 script 标签的资源请求还可以走 302 #110

yubaoquan opened this issue May 6, 2024 · 0 comments

Comments

@yubaoquan
Copy link
Owner

就是说xxAPI 可以是一个接口, 通过 302 跳转到真实的 js 地址, 然后在 script 标签里配接口地址也可以最终加载到 js 文件

<script src="xxAPI"></script>

只是不知道这是现代浏览器的新增功能还是以前就支持. 想验证一下, 可是我的破电脑已经无法启动 IE 了, 被强制切换到 Edge.

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