0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

[ci] format

This commit is contained in:
Junseong Park 2024-10-22 09:26:15 +00:00 committed by astrobot-houston
parent b781f8860c
commit 4ddc63b39c

View file

@ -25,7 +25,7 @@ export const onRequest = defineMiddleware(async (context, next) => {
if (context.request.method === 'POST') { if (context.request.method === 'POST') {
console.warn( console.warn(
yellow('[astro:actions]'), yellow('[astro:actions]'),
'POST requests should not be sent to prerendered pages. If you\'re using Actions, disable prerendering with `export const prerender = false`.', "POST requests should not be sent to prerendered pages. If you're using Actions, disable prerendering with `export const prerender = false`.",
); );
} }
return next(); return next();