From 5104786bd45947def4b745b62de5f53f317944ad Mon Sep 17 00:00:00 2001 From: daijun Date: Thu, 13 Aug 2020 21:02:54 +0800 Subject: [PATCH] fix Content-Type:global.application -> application --- web/src/utils/Server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/utils/Server.js b/web/src/utils/Server.js index 41b1058f..6d3a0cd1 100644 --- a/web/src/utils/Server.js +++ b/web/src/utils/Server.js @@ -76,7 +76,7 @@ class Server { fetch(`${this.origin}/api/Login/Login`, { method: 'POST', headers: { - 'Content-Type': 'global.application/x-www-form-urlencoded' + 'Content-Type': 'application/x-www-form-urlencoded' }, body: `Username=${username}&Password=${password}` }).then(response => { -- Gitee