兼容sw规则

This commit is contained in:
2020-09-02 18:02:38 +08:00
parent 6f7ad41591
commit cb647745f4
3 changed files with 4 additions and 4 deletions

View File

@@ -30,8 +30,8 @@
## 接口 ## 接口
+ /login/... + /\_login
+ /api/v1/... + /\+api/v1/...
## 问题反馈 ## 问题反馈

View File

@@ -16,7 +16,7 @@ import renderMd from './Markdown';
export { format_time, Time, TitleLine }; 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 // https://stackoverflow.com/questions/3446170/escape-string-for-use-in-javascript-regex
function escape_regex(string) { function escape_regex(string) {

View File

@@ -76,7 +76,7 @@ class LoginPopupSelf extends Component {
<b>通过第三方验证登陆T大树洞</b> <b>通过第三方验证登陆T大树洞</b>
</p> </p>
<p> <p>
<a className="button" href="/login/request?p=cs" target="_blank" <a className="button" href="/_login?p=cs" target="_blank"
> >
闭社 闭社
</a> </a>