Skip to content

Commit

Permalink
Remove unused getParamsAndProps call (#7535)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Jun 30, 2023
1 parent 4256409 commit 4dd8849
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/astro/src/vite-plugin-astro-server/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4dd8849

Please sign in to comment.