Skip to content

Commit

Permalink
fix(admin): update api entry
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jun 23, 2021
1 parent 1e07d37 commit e5e0c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin/app/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

1 comment on commit e5e0c2c

@vercel
Copy link

@vercel vercel bot commented on e5e0c2c Jun 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.