about summary refs log tree commit diff
path: root/pages/kronika
diff options
context:
space:
mode:
Diffstat (limited to 'pages/kronika')
-rw-r--r--pages/kronika/index.vue2
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)