diff --git a/web/src/StoreListPage.js b/web/src/StoreListPage.js index d3a4f46..cd491f9 100644 --- a/web/src/StoreListPage.js +++ b/web/src/StoreListPage.js @@ -147,7 +147,7 @@ class StoreListPage extends React.Component { } return ( - + {text} {Setting.renderExternalLink()} diff --git a/web/src/backend/FetchFilter.js b/web/src/backend/FetchFilter.js index 4d3acef..bac1688 100644 --- a/web/src/backend/FetchFilter.js +++ b/web/src/backend/FetchFilter.js @@ -31,7 +31,7 @@ const demoModeCallback = (res) => { okText: i18next.t("general:OK"), cancelText: i18next.t("general:Cancel"), onOk() { - Setting.openLink(`https://demo-ai.casbin.com/${location.pathname}${location.search}?username=built-in/admin&password=123`); + Setting.openLink(`https://demo-ai.casbin.com${location.pathname}${location.search}?username=built-in/admin&password=123`); }, onCancel() {}, });