mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 05:02:58 +03:00
[PR #226] [MERGED] Add GEOLITE_DB_URL and handle an empty MAXMIND_LICENSE_KEY #905
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/226
Author: @wargio
Created: 2/11/2025
Status: ✅ Merged
Merged: 2/13/2025
Merged by: @stonith404
Base:
main← Head:custom-geolite-db-url📝 Commits (2)
1793a03Add GEOLITE_DB_URL10f968cMerge branch 'main' into custom-geolite-db-url📊 Changes
4 files changed (+21 additions, -10 deletions)
View changed files
📝
backend/internal/common/env_config.go(+5 -2)📝
backend/internal/service/geolite_service.go(+14 -6)📝
backend/internal/service/test_service.go(+1 -1)📝
backend/internal/service/user_service.go(+1 -1)📄 Description
Adds
GEOLITE_DB_URLand handles the edge case whereMAXMIND_LICENSE_KEYis not defined, avoiding to make a useless http request to the service.Fix https://github.com/pocket-id/pocket-id/issues/111
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.