Skip to content

Commit bd6cc72

Browse files
committed
move_location_db_to_github
1 parent 0f31876 commit bd6cc72

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

contrib/location/location.db

20 MB
Binary file not shown.

pkg/pipeline/transform/location/location.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const (
4545
DBFileLocation = "/tmp/location_db.bin"
4646
DBZIPFileLocation = "/tmp/location_db.bin" + ".zip"
4747
// REF: Original location from ip2location DB is: "https://www.ip2location.com/download/?token=OpOljbgT6K2WJnFrFBBmBzRVNpHlcYqNN4CMeGavvh0pPOpyu16gKQyqvDMxTDF4&file=DB9LITEBIN"
48-
DbUrl = "https://drive.google.com/uc?export=download&id=19T0H7gBG-LX2YkvQ7RS_2gtIU7jbkseS"
48+
DbUrl = "https://raw.githubusercontent.com/netobserv/flowlogs2metrics/main/contrib/location/location.db"
4949
)
5050

5151
var locationDB *ip2location.DB

0 commit comments

Comments
 (0)