Skip to content

Commit ab1d096

Browse files
committed
x
Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
1 parent c30a373 commit ab1d096

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@
1313
"dependencies": {
1414
"@astrojs/check": "^0.9.4",
1515
"@astrojs/mdx": "^4.0.1",
16-
"@astrojs/node": "^9.2.2",
1716
"@astrojs/partytown": "^2.1.2",
1817
"@astrojs/rss": "^4.0.10",
1918
"@astrojs/sitemap": "^3.2.1",
20-
"@astrojs/node": "^9.2.2",
2119
"@astrojs/tailwind": "^5.1.3",
2220
"@iconify-json/tabler": "^1.1.116",
2321
"astro": "^5.0.3",

src/pages/skyrl_docs.astro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
2+
const redirectTo = new URL('/skyrl_docs/index.html', Astro.site).pathname;
23
---
4+
35
<html>
46
<head>
57
<meta charset="utf-8" />
6-
<meta http-equiv="refresh" content="0;url=/skyrl_docs/index.html" />
8+
<meta http-equiv="refresh" content={`0;url=${redirectTo}`} />
79
<title>Redirecting...</title>
810
</head>
911
<body>
10-
<p>If you are not redirected, <a href="/skyrl_docs/index.html">click here</a>.</p>
12+
<p>If you are not redirected, <a href={redirectTo}>click here</a>.</p>
1113
</body>
1214
</html>

0 commit comments

Comments
 (0)