mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-12 17:13:43 +08:00
replace epay with stripe
Signed-off-by: wozulong <>
This commit is contained in:
@@ -126,6 +126,10 @@ export function openPage(url) {
|
||||
}
|
||||
|
||||
export function removeTrailingSlash(url) {
|
||||
if (!url) {
|
||||
return "";
|
||||
}
|
||||
|
||||
if (url.endsWith('/')) {
|
||||
return url.slice(0, -1);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user