You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
${chalk.yellowBright`Using background API routes`}
202
+
If your account type does not support background functions, the deploy will fail.
203
+
During local development, background API routes will run as regular API routes, but in production they will immediately return an empty "202 Accepted" response.
204
+
`,
205
+
)
206
+
}
207
+
208
+
if(functions.some((func)=>func.schedule)){
209
+
console.warn(
210
+
outdent`
211
+
${chalk.yellowBright`Using scheduled API routes`}
212
+
These are run on a schedule when deployed to production.
213
+
You can test them locally by loading them in your browser but this will not be available when deployed, and any returned value is ignored.
0 commit comments