Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
seadfeng committed Aug 6, 2024
1 parent 788237f commit 762768a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You can use the workers.dev subdomain to access without needing your own domain.

```js
// workers.dev/index.js
// replace to your proxy site domain
// replace to your target site domain
const targetDomain = 'example.com';
```

Expand Down Expand Up @@ -62,7 +62,7 @@ Code: [index.js](index.js)
npm i -g wrangler
```

### 2. Configure your root domain - **Important!**
### 2. Configure your own domain - **Important!**

Free domain name application:

Expand All @@ -78,15 +78,15 @@ const ownDomain = "example.com";

#### Use workers.dev default domain?

This method only supports single domain reverse proxy.
This method only support single domain reverse proxy.

Here is the code:

[workers.dev/index.js](workers.dev/index.js)

```js
// workers.dev/index.js
// replace to your proxy site domain
// replace to your target site domain
const targetDomain = 'example.com';
```

Expand Down
2 changes: 1 addition & 1 deletion workers.dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ In this case, you will need change the code:

```js
// workers.dev/index.js
// replace to your proxy site domain
// replace to your target site domain
const targetDomain = 'example.com';
```

Expand Down

0 comments on commit 762768a

Please sign in to comment.