Update utils

This commit is contained in:
jeffvli
2022-10-24 22:09:58 -07:00
parent 663b951cd7
commit 921c688c94
11 changed files with 68 additions and 17 deletions
@@ -0,0 +1,4 @@
export const normalizeServerUrl = (url: string) => {
// Remove trailing slash
return url.endsWith('/') ? url.slice(0, -1) : url;
};