File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ You can use the workers.dev subdomain to access without needing your own domain.
26
26
27
27
``` js
28
28
// workers.dev/index.js
29
- // replace to your proxy site domain
29
+ // replace to your target site domain
30
30
const targetDomain = ' example.com' ;
31
31
```
32
32
@@ -62,7 +62,7 @@ Code: [index.js](index.js)
62
62
npm i -g wrangler
63
63
```
64
64
65
- ### 2. Configure your root domain - ** Important!**
65
+ ### 2. Configure your own domain - ** Important!**
66
66
67
67
Free domain name application:
68
68
@@ -78,15 +78,15 @@ const ownDomain = "example.com";
78
78
79
79
#### Use workers.dev default domain?
80
80
81
- This method only supports single domain reverse proxy.
81
+ This method only support single domain reverse proxy.
82
82
83
83
Here is the code:
84
84
85
85
[ workers.dev/index.js] ( workers.dev/index.js )
86
86
87
87
``` js
88
88
// workers.dev/index.js
89
- // replace to your proxy site domain
89
+ // replace to your target site domain
90
90
const targetDomain = ' example.com' ;
91
91
```
92
92
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ In this case, you will need change the code:
30
30
31
31
``` js
32
32
// workers.dev/index.js
33
- // replace to your proxy site domain
33
+ // replace to your target site domain
34
34
const targetDomain = ' example.com' ;
35
35
```
36
36
You can’t perform that action at this time.
0 commit comments