Merge branch 'main' of https://github.com/kjagosz/zoraxy into v3.2.3

This commit is contained in:
Toby Chui
2025-06-07 12:08:23 +08:00
14 changed files with 463 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
package main
import (
"imuslab.com/zoraxy/mod/auth/sso/oauth2"
"log"
"net/http"
"os"
@@ -147,6 +148,11 @@ func startupSequence() {
Database: sysdb,
})
oauth2Router = oauth2.NewOAuth2Router(&oauth2.OAuth2RouterOptions{
Logger: SystemWideLogger,
Database: sysdb,
})
//Create a statistic collector
statisticCollector, err = statistic.NewStatisticCollector(statistic.CollectorOption{
Database: sysdb,