浏览代码

Fix token

Pitu 6 年之前
父节点
当前提交
0639c4e1bb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/site/components/home/links/Links.vue

+ 1 - 1
src/site/components/home/links/Links.vue

@@ -117,7 +117,7 @@ export default {
 				"RequestURL": "${location.origin}/api/upload",
 				"FileFormName": "file",
 				"Headers": {
-					"authorization": "${this.token}",
+					"authorization": "Bearer ${this.token}",
 					"accept": "application/vnd.lolisafe.json"
 				},
 				"ResponseType": "Text",