Skip to content

Commit

Permalink
lint and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshay committed Jan 30, 2024
1 parent a41c8be commit 3f3538d
Show file tree
Hide file tree
Showing 5 changed files with 7,599 additions and 3,366 deletions.
8 changes: 4 additions & 4 deletions apps/infra/cdk.context.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"hosted-zone:account=738697399292:domainName=astro-aws.org:region=us-west-2": {
"Id": "/hostedzone/Z0584480MGUI8KRBPWM",
"Name": "astro-aws.org."
}
"hosted-zone:account=738697399292:domainName=astro-aws.org:region=us-west-2": {
"Id": "/hostedzone/Z0584480MGUI8KRBPWM",
"Name": "astro-aws.org."
}
}
1 change: 0 additions & 1 deletion packages/adapter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { fileURLToPath } from "node:url"
import { writeFile } from "node:fs/promises"

import { stringify } from "flatted"

import type { AstroAdapter, AstroConfig, AstroIntegration } from "astro"

import type { Args } from "./args.js"
Expand Down
5 changes: 4 additions & 1 deletion packages/adapter/src/lambda/handlers/edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ const createExports = (
return def
}

const response = await app.render(request, { routeData, locals: args.locals })
const response = await app.render(request, {
locals: args.locals,
routeData,
})
const fnResponse = await createLambdaEdgeFunctionResponse(
app,
response,
Expand Down
5 changes: 4 additions & 1 deletion packages/adapter/src/lambda/handlers/ssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ const createExports = (
}
}

const response = await app.render(request, { routeData, locals: args.locals })
const response = await app.render(request, {
locals: args.locals,
routeData,
})

return createLambdaFunctionResponse(
app,
Expand Down
Loading

0 comments on commit 3f3538d

Please sign in to comment.