Commit graph

17 commits

Author SHA1 Message Date
Mike Cao
fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike Cao
b9d52af215 Updated prisma. 2025-11-21 21:35:11 -08:00
Mintimate
e13362bfec feat(geo): add redirect support for direct .mmdb downloads 2025-11-12 19:18:44 +08:00
Mintimate
371ff47325 feat(geo): add support for direct .mmdb URL and custom GEO_DATABASE_URL
- Support GEO_DATABASE_URL environment variable for custom database URL

- Auto-detect .mmdb files and skip decompression

- Maintain backward compatibility with tar.gz archives
2025-11-12 17:51:19 +08:00
Mike Cao
067567cbf6 Force geo build with BUILD_GEO env var.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-31 00:13:02 -07:00
Mike Cao
4e37e10b6d Switched to type: module. 2025-04-29 14:36:52 -07:00
Mike Cao
be1b2fc272 Merge dev. 2025-04-28 20:09:58 -07:00
Mike Cao
92ab391ef8 Use Vercel headers for location. 2023-04-24 19:29:31 -07:00
Mike Cao
05933ff1d2 Use new geo folder. 2023-03-28 19:24:36 -07:00
Mike Cao
23d02e5aac Try reverting to country database. 2023-03-28 19:10:11 -07:00
Brian Cao
82f0bc3d2b
remove event_data. (#1804) 2023-03-01 16:42:47 -08:00
Francis Cao
55a586fe27 add subdivision1/2, cities to query logic 2023-02-20 09:04:20 -08:00
Francis Cao
4351ef37f8 update to GeoLite2-City 2023-02-14 12:06:41 -08:00
Mike Cao
6b13d3eaa3 Added eslint declarations. 2022-11-03 21:33:37 -07:00
Mike Cao
c37554214d Moved geo database location. 2022-08-03 19:20:13 -07:00
Mike Cao
c05be856f3 Move geo database to public folder. 2020-09-26 21:18:15 -07:00
Mike Cao
ad95da63b7 Use local geo database instead of npm package. 2020-09-26 20:21:16 -07:00