* refactor(auth): replace dashboard sessions with stateless tokens * feat(auth): harden session issuance and distributed enforcement * fix(proxy): preserve trusted proxy compatibility defaults * refactor: address dashboard auth review feedback * refactor: remove classic frontend and flatten web app
13 lines
230 B
Go
13 lines
230 B
Go
package service
|
|
|
|
import (
|
|
"strings"
|
|
|
|
"github.com/QuantumNous/new-api/setting/system_setting"
|
|
)
|
|
|
|
func PaymentReturnURL(suffix string) string {
|
|
base := strings.TrimRight(system_setting.ServerAddress, "/")
|
|
return base + suffix
|
|
}
|