mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-29 23:10:35 +00:00
14 lines
324 B
Go
14 lines
324 B
Go
package service
|
|
|
|
import (
|
|
"github.com/QuantumNous/new-api/setting/operation_setting"
|
|
"github.com/QuantumNous/new-api/setting/system_setting"
|
|
)
|
|
|
|
func GetCallbackAddress() string {
|
|
if operation_setting.CustomCallbackAddress == "" {
|
|
return system_setting.ServerAddress
|
|
}
|
|
return operation_setting.CustomCallbackAddress
|
|
}
|