mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
d3247851f0
commit
40029e1af4
1 changed files with 8 additions and 2 deletions
|
@ -253,7 +253,13 @@ export class App {
|
||||||
page.onRequest as MiddlewareResponseHandler,
|
page.onRequest as MiddlewareResponseHandler,
|
||||||
apiContext,
|
apiContext,
|
||||||
() => {
|
() => {
|
||||||
return renderPage({ mod, renderContext, env: this.#env, cookies: apiContext.cookies, isCompressHTML });
|
return renderPage({
|
||||||
|
mod,
|
||||||
|
renderContext,
|
||||||
|
env: this.#env,
|
||||||
|
cookies: apiContext.cookies,
|
||||||
|
isCompressHTML,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
@ -262,7 +268,7 @@ export class App {
|
||||||
renderContext,
|
renderContext,
|
||||||
env: this.#env,
|
env: this.#env,
|
||||||
cookies: apiContext.cookies,
|
cookies: apiContext.cookies,
|
||||||
isCompressHTML
|
isCompressHTML,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
Reflect.set(request, responseSentSymbol, true);
|
Reflect.set(request, responseSentSymbol, true);
|
||||||
|
|
Loading…
Reference in a new issue