aboutsummaryrefslogtreecommitdiff
path: root/src/html/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/index.html')
-rw-r--r--src/html/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/index.html b/src/html/index.html
index 7a1d5d5..c7e398b 100644
--- a/src/html/index.html
+++ b/src/html/index.html
@@ -18,7 +18,7 @@
posts: []
},
created() {
- fetch(new Request('/index/posts.json')).then(response => response.json())
+ fetch(new Request('/posts/index')).then(response => response.json())
.then(response => this.posts = response.data);
}
});