diff --git a/packages/client/src/components/global/url.vue b/packages/client/src/components/global/url.vue
index 882df7313..60821bc17 100644
--- a/packages/client/src/components/global/url.vue
+++ b/packages/client/src/components/global/url.vue
@@ -1,6 +1,6 @@
{}"
>
@@ -11,60 +11,47 @@
{{ hostname }}
- {{ self ? pathname.substr(1) : pathname }}
+ {{ self ? pathname.slice(1) : pathname }}
{{ query }}
{{ hash }}
-