From cb647745f4f7ad21ca0da67bbe827048fa165c3a Mon Sep 17 00:00:00 2001
From: hole-thu
Date: Wed, 2 Sep 2020 18:02:38 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9sw=E8=A7=84=E5=88=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 4 ++--
src/Common.js | 2 +-
src/infrastructure/widgets.js | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 56df08d..decc973 100644
--- a/README.md
+++ b/README.md
@@ -30,8 +30,8 @@
## 接口
-+ /login/...
-+ /api/v1/...
++ /\_login
++ /\+api/v1/...
## 问题反馈
diff --git a/src/Common.js b/src/Common.js
index da41c50..d0735df 100644
--- a/src/Common.js
+++ b/src/Common.js
@@ -16,7 +16,7 @@ import renderMd from './Markdown';
export { format_time, Time, TitleLine };
-export const API_BASE = '/api/v1/';
+export const API_BASE = '/_api/v1/';
// https://stackoverflow.com/questions/3446170/escape-string-for-use-in-javascript-regex
function escape_regex(string) {
diff --git a/src/infrastructure/widgets.js b/src/infrastructure/widgets.js
index ede3044..4d3400a 100644
--- a/src/infrastructure/widgets.js
+++ b/src/infrastructure/widgets.js
@@ -76,7 +76,7 @@ class LoginPopupSelf extends Component {
通过第三方验证登陆T大树洞
-
闭社