diff options
Diffstat (limited to 'pages/kronika/index.vue')
-rw-r--r-- | pages/kronika/index.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/kronika/index.vue b/pages/kronika/index.vue index 20341e9..4a89a48 100644 --- a/pages/kronika/index.vue +++ b/pages/kronika/index.vue @@ -33,7 +33,7 @@ export default { getPosts() { if (this.posts.length < 1) { this.$axios - .get(`${process.env.baseUrl}/api/posts.json`) + .get(`${window.location.origin}/api/posts.json`) .then(r => (this.posts = r.data)) } console.log(this.posts) |