mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 04:22:58 +00:00
format: package name -> github.com/QuantumNous/new-api (#2017)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package system_setting
|
||||
|
||||
import "one-api/setting/config"
|
||||
import "github.com/QuantumNous/new-api/setting/config"
|
||||
|
||||
type FetchSetting struct {
|
||||
EnableSSRFProtection bool `json:"enable_ssrf_protection"` // 是否启用SSRF防护
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package system_setting
|
||||
|
||||
import "one-api/setting/config"
|
||||
import "github.com/QuantumNous/new-api/setting/config"
|
||||
|
||||
type LegalSettings struct {
|
||||
UserAgreement string `json:"user_agreement"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package system_setting
|
||||
|
||||
import "one-api/setting/config"
|
||||
import "github.com/QuantumNous/new-api/setting/config"
|
||||
|
||||
type OIDCSettings struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
|
||||
@@ -2,9 +2,10 @@ package system_setting
|
||||
|
||||
import (
|
||||
"net/url"
|
||||
"one-api/common"
|
||||
"one-api/setting/config"
|
||||
"strings"
|
||||
|
||||
"github.com/QuantumNous/new-api/common"
|
||||
"github.com/QuantumNous/new-api/setting/config"
|
||||
)
|
||||
|
||||
type PasskeySettings struct {
|
||||
|
||||
Reference in New Issue
Block a user