Skip to content

Commit 2981fc5

Browse files
author
Vue Play
committed
Stored by Vue Play
1 parent 95b8933 commit 2981fc5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/Login.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,11 @@ export default {
6060
inject: ["io", "user", "reAuthenticate"],
6161
data: () => ({
6262
authorizing: false,
63-
origin: location.origin.startsWith("http") ? location.origin : "https://studio.vueplay.com"
63+
origin: "https://studio.vueplay.com"
6464
}),
65+
mounted() {
66+
this.origin = location.origin.startsWith("http") ? location.origin : "https://studio.vueplay.com"
67+
},
6568
methods: {
6669
login() {
6770
this.authorizing = true;

0 commit comments

Comments
 (0)