mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-08 08:36:37 +08:00
[优化] geoip 工具
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"atsflare/middleware"
|
||||
"atsflare/model"
|
||||
"atsflare/router"
|
||||
"atsflare/utils/geoip"
|
||||
"embed"
|
||||
"fmt"
|
||||
"github.com/gin-contrib/sessions"
|
||||
@@ -65,6 +66,7 @@ func main() {
|
||||
|
||||
// Initialize options
|
||||
model.InitOptionMap()
|
||||
geoip.InitGeoIP()
|
||||
|
||||
// Initialize HTTP server
|
||||
server := gin.Default()
|
||||
|
||||
Reference in New Issue
Block a user