feat: implement vercel redirect
This commit is contained in:
@@ -7,7 +7,8 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
|
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch"
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
|
||||||
|
"prepare": "svelte-kit sync"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@melt-ui/pp": "^0.1.2",
|
"@melt-ui/pp": "^0.1.2",
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"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/"}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "turbo run build",
|
"build": "turbo run build",
|
||||||
"dev": "turbo run dev",
|
"dev": "turbo run dev",
|
||||||
|
"prepare": "turbo run prepare",
|
||||||
"lint": "turbo run lint",
|
"lint": "turbo run lint",
|
||||||
"clean": "turbo clean && rm -rf node_modules",
|
"clean": "turbo clean && rm -rf node_modules",
|
||||||
"format": "prettier . --write"
|
"format": "prettier . --write"
|
||||||
|
|||||||
@@ -13,6 +13,10 @@
|
|||||||
"cache": false,
|
"cache": false,
|
||||||
"persistent": true
|
"persistent": true
|
||||||
},
|
},
|
||||||
|
"prepare": {
|
||||||
|
"dependsOn": ["^build"],
|
||||||
|
"persistent": true
|
||||||
|
},
|
||||||
"clean": { "cache": false },
|
"clean": { "cache": false },
|
||||||
"db:generate": { "cache": false },
|
"db:generate": { "cache": false },
|
||||||
"db:push": { "cache": false },
|
"db:push": { "cache": false },
|
||||||
|
|||||||
Reference in New Issue
Block a user