Files
sx-fc/app/models
Infra Bot d79a6c5929 fix: Include aes_iv in cache key and fix subdomain parsing for cloud mode
1. license.rb: Add aes_iv to Redis cache key to prevent CipherError after
   container restart. New random IVs after restart were causing stale cache
   decryption failures.

2. action_controller.rb:
   - Use request.subdomains.first instead of .last to correctly parse shop
     code from tenant.fc.smartsales.asia domains
   - Add localhost bypass (127.0.0.1 / ::1) for Docker health checks in
     cloud mode, returning 200 OK instead of 404 not_found

Refs: infra-fix-2026-05-06
2026-05-06 12:16:04 +08:00
..
2025-06-03 12:21:43 +06:30
2020-02-04 17:47:06 +06:30
2020-01-31 15:15:01 +06:30
2023-08-24 10:40:31 +06:30
2023-02-10 14:50:30 +06:30
2023-02-10 14:50:30 +06:30
2023-02-10 14:50:30 +06:30
2023-02-10 14:50:30 +06:30
2023-02-09 14:55:43 +06:30
2023-02-09 14:55:43 +06:30
2020-01-13 15:28:26 +06:30
2020-02-26 17:09:17 +06:30
2023-02-09 14:55:43 +06:30
2023-02-09 14:55:43 +06:30
2023-02-09 14:55:43 +06:30
2023-04-21 15:14:31 +06:30
2023-02-09 14:55:43 +06:30
2020-01-13 15:28:26 +06:30
2023-02-10 14:50:30 +06:30
2023-02-09 14:55:43 +06:30
2023-02-09 14:55:43 +06:30
2023-10-17 16:52:12 +06:30
2025-07-28 16:44:18 +06:30
2022-07-08 17:19:44 +06:30
2020-09-01 12:52:04 +06:30
2020-01-13 18:41:37 +06:30
2020-01-13 18:41:37 +06:30
2020-01-13 18:41:37 +06:30