Browse Source

Fix token

Pitu 6 years ago
parent
commit
0639c4e1bb
1 changed files with 1 additions and 1 deletions
  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",
 				"RequestURL": "${location.origin}/api/upload",
 				"FileFormName": "file",
 				"FileFormName": "file",
 				"Headers": {
 				"Headers": {
-					"authorization": "${this.token}",
+					"authorization": "Bearer ${this.token}",
 					"accept": "application/vnd.lolisafe.json"
 					"accept": "application/vnd.lolisafe.json"
 				},
 				},
 				"ResponseType": "Text",
 				"ResponseType": "Text",