Compare commits

..

1 commit

Author SHA1 Message Date
Erisa A
bb7c0f794d Pending changes exported from your codespace 2022-04-03 07:07:12 +00:00
7 changed files with 13 additions and 16 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
dist/*
worker/*
node_modules/*
.secrets

1
E.js
View file

@ -1 +0,0 @@
test

View file

@ -1,13 +1,3 @@
## Deprection notice
This project has been deprecated and archived.
I recommend you use Cloudflare's native [Bulk Redirects](https://developers.cloudflare.com/rules/bulk-redirects) or [Dynamic Redirects](https://blog.cloudflare.com/dynamic-redirect-rules/) features to redirect domains, rather than Page Rules.
You may use or fork this project if you desire, but it is not supported by me and will not recieve any updates.
The original README is below.
# Domain Redirecting with Cloudflare Workers # Domain Redirecting with Cloudflare Workers
Easily redirect one entire domain to another with a serverless Cloudflare Worker. Easily redirect one entire domain to another with a serverless Cloudflare Worker.

View file

@ -7,6 +7,5 @@
"cloud.erisa.moe": "erisa.cloud", "cloud.erisa.moe": "erisa.cloud",
"docs.erisa.moe": "docs.erisa.uk", "docs.erisa.moe": "docs.erisa.uk",
"evenfall.uk": "evenfall.site", "evenfall.uk": "evenfall.site",
"might-be-super.fun": "owo.whats-th.is", "might-be-super.fun": "owo.whats-th.is"
"cord.gift": "dis.cord.gift"
} }

5
package-lock.json generated Normal file
View file

@ -0,0 +1,5 @@
{
"name": "domain-redirect",
"version": "1.0.0",
"lockfileVersion": 1
}

View file

@ -6,7 +6,9 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"keywords": ["cloudflare-worker"], "keywords": [
"cloudflare-worker"
],
"author": "Erisa A <erisa@erisa.uk>", "author": "Erisa A <erisa@erisa.uk>",
"license": "MIT" "license": "MIT"
} }

View file

@ -3,5 +3,3 @@ type = "webpack"
compatibility_flags = [] compatibility_flags = []
workers_dev = true workers_dev = true
compatibility_date = "2021-10-12" compatibility_date = "2021-10-12"
# account_id is required if you have multiple accounts within single profile.
# account_id = ""