兼容sw规则
This commit is contained in:
@@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
## 接口
|
## 接口
|
||||||
|
|
||||||
+ /login/...
|
+ /\_login
|
||||||
+ /api/v1/...
|
+ /\+api/v1/...
|
||||||
|
|
||||||
## 问题反馈
|
## 问题反馈
|
||||||
|
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user