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:
@@ -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'],
|
||||
|
||||
@@ -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/"}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user