mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
[ci] format
This commit is contained in:
parent
b781f8860c
commit
4ddc63b39c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue