mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
fix: fix proxy for swagger (#471)
This commit is contained in:

committed by
GitHub

parent
e5e1fdae76
commit
db44957b1f
@ -410,7 +410,7 @@ class App extends Component {
|
||||
);
|
||||
res.push(
|
||||
<Menu.Item key="/swagger">
|
||||
<a target="_blank" rel="noreferrer" href={Setting.isLocalhost() ? `${Setting.getFullServerUrl()}/swagger` : "/swagger"}>
|
||||
<a target="_blank" rel="noreferrer" href={Setting.isLocalhost() ? `${Setting.ServerUrl}/swagger` : "/swagger"}>
|
||||
{i18next.t("general:Swagger")}
|
||||
</a>
|
||||
</Menu.Item>
|
||||
|
Reference in New Issue
Block a user