File tree Expand file tree Collapse file tree 5 files changed +4
-4
lines changed
Expand file tree Collapse file tree 5 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ if (!WEBHOOKS_PROXY_TUNNEL_SECRET) {
4646 "WEBHOOKS_PROXY_TUNNEL_SECRET is not set. Anyone can connect to the tunnel."
4747 ) ;
4848 console . warn (
49- "Please set the WEBHOOKS_PROXY_TUNNEL_SECRET by running `npm run set -secret` in the `./worker` directory."
49+ "Please set the WEBHOOKS_PROXY_TUNNEL_SECRET by running `npm run reset -secret` in the `./worker` directory."
5050 ) ;
5151}
5252
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ To deploy this worker you need to register at Cloudflare. The Free plan should b
66
77``` bash
88npm i
9- npm run generate -secret
9+ npm run reset -secret
1010npm run deploy
1111```
1212
Original file line number Diff line number Diff line change 1111 "dev" : " wrangler dev" ,
1212 "start" : " wrangler dev" ,
1313 "cf-typegen" : " wrangler types" ,
14- "set-new- secret" : " ./set-new -secret.sh"
14+ "reset- secret" : " ./reset -secret.sh"
1515 },
1616 "devDependencies" : {
1717 "prettier" : " ^3.5.3" ,
File renamed without changes.
Original file line number Diff line number Diff line change 11export function setSecretAside ( ) : string {
22 return `<aside class="warning">
33 <p>⚠️ Tunnel secret (<code>WEBHOOKS_PROXY_TUNNEL_SECRET</code>) is not set. Anyone can connect to any tunnel knowing the tunnel URL.</p>
4- <p>To set the secret, run <code>npm run set-new -secret</code> in the <code>./worker</code> directory.</p>
4+ <p>To set the secret, run <code>npm run reset -secret</code> in the <code>./worker</code> directory.</p>
55 </aside>` ;
66}
You can’t perform that action at this time.
0 commit comments