Skip to content

Commit

Permalink
Log in tile function
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Nov 29, 2023
1 parent acf1dc2 commit 251f16a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/functions/tiles.mts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export default async (req: Request, context: Context) => {
}

const { z, x, y } = context.params;
console.log("before getTile", { z, x, y });
const tile = await getTile(Number(z), Number(x), Number(y));
console.log({ tile });
if (!tile) {
return new Response("Tile not found", { status: 404 });
}
Expand Down

0 comments on commit 251f16a

Please sign in to comment.