feat: deploy to cloudflare (#365)

* chore: deploy to cf

* add wrangler.toml file

* update pnpm-lock

* set pnpm version

* use adapter auto
This commit is contained in:
Rotimi Best
2024-06-17 00:45:51 +01:00
committed by GitHub
parent 8d8dd3e8ec
commit 786308ec82
7 changed files with 59 additions and 56 deletions
-3
View File
@@ -30,9 +30,6 @@ const mdsvexOptions = {
const config = {
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
},
extensions: ['.svelte', '.md'],
-11
View File
@@ -1,11 +0,0 @@
{
"rewrites": [
{"source": "/docs/", "destination": "https://ciodocs.vercel.app/"},
{"source": "/demo/", "destination": "https://cal.com/classroomio/demo/"},
{"source": "/discord/", "destination": "https://discord.gg/NJqaZNuD/"},
{"source": "/github/", "destination": "https://github.com/rotimi-best/classroomio/"},
{"source": "/privacy/", "destination": "https://app.enzuzo.com/policies/privacy/958fc978-5477-11ee-a03b-7b111830c594/"},
{"source": "/tos/", "destination": "https://app.enzuzo.com/policies/tos/958fc978-5477-11ee-a03b-7b111830c594/"},
{"source": "/blog/", "destination": "https://classroomio.substack.com/"}
]
}