mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-18 14:57:27 +00:00
14 lines
219 B
Go
14 lines
219 B
Go
package service
|
|
|
|
import (
|
|
"one-api/common"
|
|
"one-api/constant"
|
|
)
|
|
|
|
func GetCallbackAddress() string {
|
|
if constant.CustomCallbackAddress == "" {
|
|
return common.ServerAddress
|
|
}
|
|
return constant.CustomCallbackAddress
|
|
}
|