forked from newthuhole/hole_thu_frontend
兼容sw规则
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
|
||||
## 接口
|
||||
|
||||
+ /login/...
|
||||
+ /api/v1/...
|
||||
+ /\_login
|
||||
+ /\+api/v1/...
|
||||
|
||||
## 问题反馈
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -76,7 +76,7 @@ class LoginPopupSelf extends Component {
|
||||
<b>通过第三方验证登陆T大树洞</b>
|
||||
</p>
|
||||
<p>
|
||||
<a className="button" href="/login/request?p=cs" target="_blank"
|
||||
<a className="button" href="/_login?p=cs" target="_blank"
|
||||
>
|
||||
闭社
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user