Update homepage URL in request handler

Changed the HOME_PAGE_URL from the GitHub Pages site to the main GitHub repository URL in the root path handler.
This commit is contained in:
xixu-me committed 2025-07-23 16:32:43 +08:00
1 parent 9f119f21c3
commit fc95a5128b
1 file changed
+1 -1
+1 -1
View File
@@ -132,7 +132,7 @@ async function handleRequest(request, env, ctx) {
// Serve homepage for root path
if (url.pathname === "/" || url.pathname === "") {
const HOME_PAGE_URL = "https://xixu-me.github.io/Xget-page/";
const HOME_PAGE_URL = "https://github.com/xixu-me/Xget";
const requestHeaders = new Headers(request.headers);
const homePageRequest = new Request(HOME_PAGE_URL, {