diff --git a/README.md b/README.md index df8b6bc..0b1678d 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ You're all set! ## Discord Community -Feel free to join [IdeaDrawn Discord community](https://discord.gg/ideas) to find a place to connect with others. Anyone is welcome to strike a conversation, lurk, or give suggestions. +Feel free to join [IdeaDrawn Discord community](https://discord.gg/Up7E6gnkuy) to find a place to connect with others. Anyone is welcome to strike a conversation, lurk, or give suggestions. ## Contribution diff --git a/vercel/ssr.js b/api/ssr.js similarity index 100% rename from vercel/ssr.js rename to api/ssr.js diff --git a/vercel.json b/vercel.json index 7b415ad..cf9009d 100644 --- a/vercel.json +++ b/vercel.json @@ -1,8 +1,19 @@ { - "rewrites": [ - { - "source": "/((?!assets/).*", - "destination": "vercel/ssr.js" - } - ] -} \ No newline at end of file + "version": 2, + "builds": [ + { + "src": "api/ssr.js", + "use": "@vercel/node" + }, + { + "src": "dist/client/**", + "use": "@vercel/static" + } + ], + "routes": [ + { + "src": "/(?!assets/).*", + "dest": "/api/ssr.js" + } + ] +}