-
Notifications
You must be signed in to change notification settings - Fork 553
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
Can't see photos: 301 Moved Permanently CloudFront #82
Comments
I'm having the same issue, please is there any solution to this yet. |
please update the urls to point to new images desitnations |
Try this /server/Server.js:101
this._app.get('/photos/:farm-:server-:id-:secret-:type.jpg', (req, res) => {
const flickrUrl = `http://farm${req.params.farm}.staticflickr.com/${req.params.server}/${req.params.id}_${req.params.secret}_${imgSizeToFlickrSuffix[req.params.type]}.jpg`;
const flickrRequest = http.request(flickrUrl, flickrRes => {
- flickrRes.pipe(res);
+ Object.keys(flickrRes.headers).forEach((header) => {
+ res.setHeader(header, flickrRes.headers[header]);
+ });
+ // flickrRes.pipe(res);
+ res.sendStatus(301)
}); |
gwpantazes
pushed a commit
to gwpantazes/wittr-modern
that referenced
this issue
Mar 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wittr is not displaying images:
When I try to access image's url it show a 301 message.
/ping @jakearchibald
The text was updated successfully, but these errors were encountered: