Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit 5d2e912

Browse files
committed
rewrite
1 parent c75b568 commit 5d2e912

File tree

13 files changed

+3605
-3353
lines changed

13 files changed

+3605
-3353
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,5 @@ dist
171171
.dev.vars
172172
.wrangler/
173173
**/test.*
174-
**/reverseProxy.*
174+
**/reverseProxy.*
175+
.vercel

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,39 @@ or you can do this.
6565
```javascript
6666
encodeURIComponent(JSON.stringify({ Referer: 'https://kiwik.si' }));
6767
```
68+
69+
#### Referer header
70+
71+
Just add `ref` to the url
72+
73+
```URL
74+
&ref=example.com
75+
```
76+
77+
## Hianime Streams Loading Issue
78+
79+
### 🚨 Problem
80+
81+
Hianime video streams fail to load when accessed through Cloudflare Workers proxy instead use Vercel instance.
82+
83+
## Root Cause
84+
85+
Cloudflare Workers ignore custom HTTPS ports (e.g., `:2228`) in `fetch()` requests after deployment.
86+
87+
| Environment | Status |
88+
| ------------------------------ | -------- |
89+
| Development (`wrangler dev`) | ✅ Works |
90+
| Production (`wrangler deploy`) | ❌ Fails |
91+
92+
## ℹ️ Cloudflare Known Issue
93+
94+
This is a documented limitation of Cloudflare Workers:
95+
96+
[Fetch requests ignore non-standard HTTPS ports](https://developers.cloudflare.com/workers/platform/known-issues/#fetch-requests-ignore-non-standard-https-ports)
97+
98+
[Custom ports for outgoing HTTPS requests from Workers are ignored · Issue #5998 · cloudflare/cloudflare-docs](https://github.com/cloudflare/cloudflare-docs/issues/5998)
99+
100+
**Affected Scenarios:**
101+
102+
- All `fetch()` requests to non-standard HTTPS ports (e.g., `:2228`, `:8443`)
103+
- Any Worker making requests to custom HTTPS ports

0 commit comments

Comments
 (0)