feature(dashboard): add integrations and notifications
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
export function stripTrailingSlash(url: string) {
|
||||
return url.replace(/\/+$/, '');
|
||||
}
|
||||
|
||||
export function stripLeadingAndTrailingSlashes(url: string) {
|
||||
return url.replace(/^[/]+|[/]+$/g, '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user