0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Remove unused getParamsAndProps call (#7535)

This commit is contained in:
Bjorn Lu 2023-07-01 05:18:29 +08:00 committed by GitHub
parent 4256409a94
commit 4dd8849be2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,17 +157,6 @@ export async function handleRoute(
if (value) res.setHeader(name, value);
}
// attempt to get static paths
// if this fails, we have a bad URL match!
const paramsAndPropsRes = await getParamsAndProps({
mod,
route,
routeCache: env.routeCache,
pathname: pathname,
logging,
ssr: isServerLikeOutput(config),
});
const options: SSROptions = {
env,
filePath,