Compare commits

..

5 commits

Author SHA1 Message Date
a8afbc8c84 Add E.js 2024-10-16 11:40:05 -04:00
98f6dfb567 Delete .gitignore 2024-10-16 11:38:51 -04:00
Erisa A
7ddb1cb3c2
Add deprecation notice 2022-09-28 04:36:31 +01:00
Erisa A
ea434afa94
Update domainMaps.json 2021-11-19 00:43:09 +00:00
Yongmin Hong
edd16e0bb8
Add account_id to wrangler.toml (#1)
account_id is required when you have more than one account in your
login profile. Add them as optional flags so someone who might use
it don't need to figure out what to do (well, it's pretty trivial
but saving time is always good...)

Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-11-01 09:48:24 +00:00
7 changed files with 16 additions and 13 deletions

4
.gitignore vendored
View file

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

1
E.js Normal file
View file

@ -0,0 +1 @@
test

View file

@ -1,3 +1,13 @@
## 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,5 +7,6 @@
"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
View file

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

View file

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

View file

@ -3,3 +3,5 @@ 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 = ""