mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-05 02:51:07 +00:00
fix: docs redirect problem fix (#892)
This commit is contained in:
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';
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user