mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-18 00:16:37 +08: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
|
|
}
|