diff --git a/src/api/file.js b/src/api/file.js index e0c1a49..110067e 100644 --- a/src/api/file.js +++ b/src/api/file.js @@ -72,7 +72,7 @@ async function ghFileUpload(content, filename) { headers: config.headers, data: { branch: config.branch || 'master', - message: 'Upload by https://doocs.github.io/md', + message: `Upload by ${window.location.href}`, content: content } }); diff --git a/src/components/CodemirrorEditor/uploadImgDialog.vue b/src/components/CodemirrorEditor/uploadImgDialog.vue index d623948..e30cd40 100644 --- a/src/components/CodemirrorEditor/uploadImgDialog.vue +++ b/src/components/CodemirrorEditor/uploadImgDialog.vue @@ -55,7 +55,7 @@ + placeholder="如:img,可不填,默认为根目录"> 如何使用阿里云 OSS?