Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nilproxy

Production secret

Set the deployed Worker token:

npx wrangler secret put PROXY_TOKEN --config wrangler.jsonc --name nilproxy
npx wrangler deploy --config wrangler.jsonc --name nilproxy

Enter the same token in the page password box.

Check that Cloudflare has the secret:

npm run secret:list

After deploy, visit:

https://YOUR-WORKER-URL/status

It should show:

{"worker":"nilproxy","hasProxyToken":true}

Local development

Create .dev.vars next to wrangler.jsonc:

PROXY_TOKEN=your-token-here

Then run:

npm run dev

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages