diff --git a/src/page/components/header.vue b/src/page/components/header.vue
index 7bb6a018..52139298 100644
--- a/src/page/components/header.vue
+++ b/src/page/components/header.vue
@@ -94,7 +94,12 @@
export default class extends Vue {
@Prop() readonly neko!: Neko
- url: string = location.href
+ @Watch('neko.state.connection.url')
+ updateUrl(url: string) {
+ this.url = url
+ }
+
+ url: string = ''
async setUrl() {
if (this.url == '') {
diff --git a/src/page/main.vue b/src/page/main.vue
index 022b655a..bf378103 100644
--- a/src/page/main.vue
+++ b/src/page/main.vue
@@ -5,7 +5,7 @@