|
@@ -93,9 +93,7 @@ axios.get(contentApiUrl).then(({ data }) => {
|
|
|
|
|
|
const postData = {
|
|
|
content: mdContent,
|
|
|
- path: '家具規劃作品/公仔與爵士鼓/index.md',
|
|
|
- title: 'test_post_index',
|
|
|
- url: '/collection/test_post_index'
|
|
|
+ url: (JSON.parse(document.getElementById('url').textContent)).url
|
|
|
}
|
|
|
axios.post(contentApiUrl, json=postData);
|
|
|
}
|