Update Vercel warning verbiage (#8328)
* Update Vercel warning verbiage * Changeset and suggestion of functionPerRoute: false
This commit is contained in:
parent
dc29e0f797
commit
8fff0e9aeb
2 changed files with 8 additions and 1 deletions
5
.changeset/nine-terms-reply.md
Normal file
5
.changeset/nine-terms-reply.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/vercel': patch
|
||||
---
|
||||
|
||||
Update verbiage of Vercel warning
|
|
@ -132,7 +132,9 @@ export default function vercelServerless({
|
|||
'astro:config:done': ({ setAdapter, config, logger }) => {
|
||||
if (functionPerRoute === true) {
|
||||
logger.warn(
|
||||
"The Vercel plans might have limits to the number of functions you can create, make sure to check them if you don't want to incur into additional costs."
|
||||
`Vercel's hosting plans might have limits to the number of functions you can create.
|
||||
Make sure to check your plan carefully to avoid incurring additional costs.
|
||||
You can set functionPerRoute: false to prevent surpassing the limit.`
|
||||
);
|
||||
}
|
||||
setAdapter(getAdapter({ functionPerRoute, edgeMiddleware }));
|
||||
|
|
Loading…
Add table
Reference in a new issue