Skip to content

Commit 34450c1

Browse files
authored
Create index.html
1 parent c3d9e6d commit 34450c1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>Redirecting...</title>
6+
<script>
7+
// 获取当前路径
8+
const path = window.location.pathname;
9+
10+
// 如果路径不是/openapi,则重定向
11+
if (path !== "/openapi") {
12+
window.location.replace("/openapi");
13+
}
14+
</script>
15+
</head>
16+
<body>
17+
<p>If you are not redirected, <a href="/openapi">click here</a>.</p>
18+
</body>
19+
</html>

0 commit comments

Comments
 (0)