Skip to content

Commit

Permalink
fix: 去掉无用信息 (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
brookylin authored Oct 13, 2023
1 parent c26e32c commit 5df4170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bk-login/pages/paas-server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ app.use(history({
rewrites: [
{
// connect-history-api-fallback 默认会对 url 中有 . 的 url 当成静态资源处理而不是当成页面地址来处理
// 兼容 /cs/28aa9eda67644a6eb254d694d944307e/cluster/BCS-MESOS-10001/node/10.121.23.12 这样以 IP 结尾的 url
// 兼容 /cs/28aa9eda67644a6eb254d694d944307e/cluster/BCS-MESOS-10001/node/127.0.0.1 这样以 IP 结尾的 url
// from: /\d+\.\d+\.\d+\.\d+$/,
from: /\/(\d+\.)*\d+$/,
to: '/',
Expand Down

0 comments on commit 5df4170

Please sign in to comment.