Comments (1)
以前本着节省带宽的原则没有强制 API 代理所有流量,图片根本没有代理(现在因为跨域问题导致服务器端部分图片无法加载),视频只有必要时才走代理。
如果你是主域名:6001
去访问这个服务,浏览器可能自动给你跳到 https 去,单独开一个子域名,不配置证书即可。
如果你的需求是,接口返回的所有流量通过 HTTPS 传输,那么为 API 的 6001 端口设置一个反向代理,同时配置好证书。在配置文件中强制所有流量通过 API 代理,这样所有第三方资源都是通过反向代理返回,保证链接都是 HTTPS。
https://github.com/zaxtyson/Anime-API/blob/dev/config.py
from animesearcher.
Related Issues (20)
- 开发大大能不能考虑一下 HOT 6
- 一些优化建议 HOT 2
- 电视直播问题 HOT 4
- 建议:后台到菜单栏,任务栏有个东西特别难受 HOT 1
- 经过nginx反向代理后,接口返回的URL错误 HOT 2
- 弹幕数据库错误要如何解决? HOT 1
- app.py无法运行 HOT 2
- 前端代码没有开源?
- 忽然用不了了。? HOT 1
- windows11安装1.4.3.exe报错了 HOT 2
- 请将pip install 变更至 pip3 install,python更改为python3.8 HOT 3
- 请问 为什么访问不了index.html HOT 2
- 新来源建议 HOT 1
- 停更了吗 HOT 2
- 电视资源失效了 HOT 1
- 建议加入汇入弹幕文件功能 HOT 2
- [question] 本项目用pyinstaller打包的exe在virustotal上居然是全绿,是怎么做到的? HOT 1
- 域名应该怎么填写啊,我填公网IP会报错 HOT 9
- 无法播放伪装成png的ts片段的问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animesearcher.