This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 3d5adac feat(User): update prefix
3d5adac is described below
commit 3d5adaca2187e9816f720bc732901bf9720c371a
Author: juzhiyuan <[email protected]>
AuthorDate: Sat Aug 22 07:14:09 2020 +0800
feat(User): update prefix
---
src/pages/User/components/LoginMethodPassword.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pages/User/components/LoginMethodPassword.tsx
b/src/pages/User/components/LoginMethodPassword.tsx
index 698addc..da0e384 100644
--- a/src/pages/User/components/LoginMethodPassword.tsx
+++ b/src/pages/User/components/LoginMethodPassword.tsx
@@ -98,7 +98,7 @@ const LoginMethodPassword: UserModule.LoginMethod = {
const result = await request('/user/login', {
method: 'POST',
requestType: 'form',
- prefix: 'http://localhost:8080',
+ prefix: '',
data: {
username: data.username,
password: data.password,