Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff646 authored Aug 17, 2024
1 parent b8ab744 commit 3f3adc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Hono } from 'hono';
const app = new Hono();

app.all('*', async (c) => {
const target = 'https://admin.5za.xyz'; // 你要代理的目标URL
const target = 'https:/ipinfo.io'; // 你要代理的目标URL
const url = new URL(c.req.url);
url.hostname = new URL(target).hostname;

Expand Down

0 comments on commit 3f3adc7

Please sign in to comment.