Skip to content

Commit

Permalink
adjust vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkE16 committed Nov 22, 2024
1 parent cadb583 commit da40f06
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
File renamed without changes.
25 changes: 18 additions & 7 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
{
"rewrites": [
{
"source": "/((?!assets/).*",
"destination": "vercel/ssr.js"
}
]
}
"version": 2,
"builds": [
{
"src": "api/ssr.js",
"use": "@vercel/node"
},
{
"src": "dist/client/**",
"use": "@vercel/static"
}
],
"routes": [
{
"src": "/(?!assets/).*",
"dest": "/api/ssr.js"
}
]
}

0 comments on commit da40f06

Please sign in to comment.