File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,19 @@ cd ./gh-pages
1414
1515echo " Generating redirection page..."
1616# setup simple redirection to the latest version.
17+
1718rm -f ./api.html
1819cat > " api.html" << EOL
1920<!DOCTYPE html>
2021<html>
2122 <head>
2223 <title>Redirecting...</title>
2324 <meta charset="utf-8">
24- <link rel="canonical" href="${PACKAGE_VERSION} /api/index.html" />
25- <meta http-equiv="refresh" content="0; url=${PACKAGE_VERSION} /api/index.html" />
25+ <link rel="canonical" href="https://mongodb.github.io/mongo-csharp-driver/ ${PACKAGE_VERSION} /api/index.html" />
26+ <meta http-equiv="refresh" content="0; url=https://mongodb.github.io/mongo-csharp-driver/ ${PACKAGE_VERSION} /api/index.html" />
2627 </head>
2728 <body>
28- <p>Redirecting you to the <a href="${PACKAGE_VERSION} /api/index.html">latest API Docs</a>...</p>
29+ <p>Redirecting you to the <a href="https://mongodb.github.io/mongo-csharp-driver/ ${PACKAGE_VERSION} /api/index.html">latest API Docs</a>...</p>
2930 </body>
3031</html>
3132
You can’t perform that action at this time.
0 commit comments