Skip to content

Commit 5fc765b

Browse files
committed
Update index.ts
1 parent 8cc53a2 commit 5fc765b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/middleware/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { defineMiddleware } from "astro:middleware";
22

33
export const onRequest = defineMiddleware((context, next) => {
44
// 将所有请求重定向到目标网站
5-
return Response.redirect('https://coffic.zone.id', 301);
5+
return Response.redirect('https://coffic.cn', 301);
66
});

0 commit comments

Comments
 (0)