Skip to content

Latest commit

 

History

History
47 lines (23 loc) · 707 Bytes

README.md

File metadata and controls

47 lines (23 loc) · 707 Bytes

Manual Cloudflare Setup

1. Open Workers & Pages

Open Workers & Pages

2. Create Worker

Create Worker

3. Deploy Worker

Deploy Worker

4. Edit Code

Edit Code 1

Copy your code to editor workers.dev/index.js or index.js

workers.dev/index.js

Only support for single domain

In this case, you will need change the code:

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

index.js

Support for multiple domains

Edit Code 2

Done and Preview

Done and Preview