modify logout url

This commit is contained in:
MaysWind
2020-10-25 19:38:59 +08:00
parent eb4105d538
commit 9e63373b4f
3 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export default {
});
},
logout: () => {
return axios.get('v1/logout.json');
return axios.get('logout.json');
},
refreshToken: () => {
return axios.post('v1/tokens/refresh.json');