https://github.com/jackdbd/cf-worker-html-rewriter
https://github.com/jackdbd/cf-worker-html-rewriter
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jackdbd/cf-worker-html-rewriter
- Owner: jackdbd
- Created: 2022-11-06T15:55:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T18:49:59.000Z (over 3 years ago)
- Last Synced: 2025-01-17T21:29:30.614Z (over 1 year ago)
- Language: TypeScript
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CF worker HTML rewriter
Live: https://cf-worker-html-rewriter-production.jackdebidda.workers.dev/?url-to-test=https://github.com/csswizardry/ct
## Develop
Develop the worker.
```sh
npx wrangler dev src/index.ts
# or
npm run dev
```
## Deploy
Publish the worker.
```sh
npx wrangler publish src/index.ts --env production
# or
npm run deploy:prod
```
## Debug
Stream the logs coming from the worker deployed to the production environment.
```sh
wrangler tail --format pretty --env production
# or
npm run logs:prod
```