mirror of
https://github.com/movie-web/simple-proxy.git
synced 2025-09-13 12:23:25 +00:00
Compare commits
7 Commits
fix-cookie
...
v0.0.6
Author | SHA1 | Date | |
---|---|---|---|
|
23c090fc15 | ||
|
f2d4e523a3 | ||
|
84e91bf422 | ||
|
d4352e7189 | ||
|
c03aaf8e3d | ||
|
256e6307f6 | ||
|
72cc0f558e |
@@ -102,6 +102,9 @@ async function handleRequest(oRequest, destination, iteration = 0) {
|
||||
// Append to/Add Vary header so browser will cache response correctly
|
||||
response.headers.append('Vary', 'Origin');
|
||||
|
||||
// Add X-Final-Destination header to get the final url
|
||||
response.headers.set('X-Final-Destination', oResponse.url);
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user