Go to file
songtianlun fe5c0d5113
Some checks failed
Docker Dev / docker (push) Has been cancelled
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
Docker Main / docker (push) Has been cancelled
fix: update sitemap retrieval logic
- Change from using `get_object` to `head_object` to check if the
  sitemap file exists before attempting to retrieve it.
- Implement a presigned URL for accessing the sitemap, which is valid
  for 15 minutes.
- Set cache headers to allow for 1 hour of caching.
- Improved logging for better error tracking and debugging.

This change enhances the efficiency of sitemap retrieval by reducing
unnecessary data transfer and provides a more secure way to access
the sitemaps through presigned URLs. It also improves error handling
by logging specific errors related to missing sitemaps.
2025-02-24 17:42:55 +08:00
.github chore: rename docker workflows and clean up city seeds 2025-02-21 10:02:36 +08:00
.kamal init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
app fix: update sitemap retrieval logic 2025-02-24 17:42:55 +08:00
bin init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
config feat: add sitemap management feature 2025-02-24 17:28:21 +08:00
db chore: rename docker workflows and clean up city seeds 2025-02-21 10:02:36 +08:00
lib feat: add locking mechanism to batch task worker 2025-02-22 15:41:42 +08:00
log init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
public feat: update art listings in home controller 2025-02-17 14:38:29 +08:00
script init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
storage init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
test feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
tmp init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
vendor init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.dockerignore init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.gitattributes init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.gitignore refactor: Update sitemap configuration to support a new host name 2025-02-17 00:27:44 +08:00
.node-version init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.rubocop.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.ruby-version feat: add translatable name module for countries and regions 2025-02-21 23:46:25 +08:00
compose.yaml chore: update docker compose file 2025-01-23 17:44:03 +08:00
config.ru init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
Dockerfile chore: update dependencies in Dockerfile and Gemfile 2025-02-05 14:53:54 +08:00
Gemfile feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
Gemfile.lock feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
package.json feat: implement social sharing functionality 2025-02-16 11:58:25 +08:00
Procfile.dev init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
Rakefile init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
README.md init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
tailwind.config.js style: improve footer layout and text labels 2025-02-14 10:27:26 +08:00
yarn.lock feat: implement social sharing functionality 2025-02-16 11:58:25 +08:00

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...