From e5e0c2c4c63536557a7df727ba8c50d3a5788d4b Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 23 Jun 2021 22:35:43 +0800 Subject: [PATCH] fix(admin): update api entry --- src/admin/app/components/Editor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/app/components/Editor.vue b/src/admin/app/components/Editor.vue index efc04d081..31e784a8d 100644 --- a/src/admin/app/components/Editor.vue +++ b/src/admin/app/components/Editor.vue @@ -51,7 +51,7 @@ export default defineComponent({ // API update on change on data or content watch([data, content], () => { - api.put(`/pages${props.file.path}`, { + api.put(`/content${props.file.path}`, { data: data.value, content: content.value })