mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-04 18:10:02 +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() {
|
window.onload = function() {
|
||||||
if (window.location.pathname !== '/docs/overview') {
|
if (window.location.pathname == '/' || window.location.pathname == "") {
|
||||||
window.location.href = '/docs/overview';
|
window.location.href = '/docs/overview';
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user