mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-24 12:45:45 +00:00
fix: docs redirect problem fix (#892)
This commit is contained in:
parent
3b96a71d9c
commit
80785d2a25
2
docs/static/redirect.js
vendored
2
docs/static/redirect.js
vendored
@ -1,5 +1,5 @@
|
||||
window.onload = function() {
|
||||
if (window.location.pathname !== '/docs/overview') {
|
||||
if (window.location.pathname == '/' || window.location.pathname == "") {
|
||||
window.location.href = '/docs/overview';
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user