Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Sep 18, 2024
1 parent 3188c7a commit 6091cdd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion serverless/aws/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,13 @@ export const handlerRaw = async (
}
headers["Content-Type"] = "application/json";

const t = p.getTileJson(`https://${process.env.PUBLIC_HOSTNAME || event.headers["x-distribution-domain-name"] || ""}/${name}`);
const t = p.getTileJson(
`https://${
process.env.PUBLIC_HOSTNAME ||
event.headers["x-distribution-domain-name"] ||
""
}/${name}`
);
return apiResp(200, JSON.stringify(t), false, headers);
}

Expand Down

0 comments on commit 6091cdd

Please sign in to comment.