Skip to content

Commit

Permalink
Merge pull request #208 from protomaps/lambda-501
Browse files Browse the repository at this point in the history
aws: return 501 instead of 400 if no PUBLIC_HOSTNAME configured
  • Loading branch information
bdon authored Jun 23, 2023
2 parents 2be2a3e + 0cac527 commit 929fb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serverless/aws/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const handlerRaw = async (
if (!tile) {
if (!process.env.PUBLIC_HOSTNAME) {
return apiResp(
400,
501,
"PUBLIC_HOSTNAME must be set for TileJSON",
false,
headers
Expand Down

0 comments on commit 929fb65

Please sign in to comment.