Skip to content

Commit

Permalink
Fixed website
Browse files Browse the repository at this point in the history
  • Loading branch information
npanuhin committed Dec 16, 2023
1 parent 5b670ff commit 796684f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Stages (roughly in order of importance):
- [x] Finally remove all images from this repo and reduce the size of repo (+ number of commits in repo)
- [ ] Write a comprehensive README
- [ ] Enable other countries
- [ ] Improve website
- [ ] Improve website + add protection for GCloud (because 5s per image ~= 500'000 images per month if sombody decides to leave the page open for so long xd)
- [ ] Deal with integrity errors (see [TODO](#todo) below)
- [ ] Update (and upload to storage) videos, if needed
- [ ] Find a way to retrieve videos from Bing (identify that today's image is a video, etc.)
Expand Down
2 changes: 1 addition & 1 deletion src/website/scripts/homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function waitFunc(func, callback, interval=20) {
// =====================================================================================================================

const api_filepath = "api/us.json",
image_url_prefix = "https://raw.githubusercontent.com/npanuhin/bing-wallpaper-archive/master/api/US/images/";
image_url_prefix = "https://storage.googleapis.com/npanuhin-bing-wallpaper-archive/US/images/";

const start_date = new Date(2017, 5, 10), // 2017-05-10: high resolution images start around here
end_date = (d => new Date(d.setDate(d.getDate() - 1)))(new Date); // Yesterday
Expand Down

0 comments on commit 796684f

Please sign in to comment.