Skip to content

Commit

Permalink
aws: return 501 instead of 401 if no PUBLIC_HOSTNAME configured for T…
Browse files Browse the repository at this point in the history
…ileJSON
  • Loading branch information
bdon committed Jun 23, 2023
1 parent b7ea7e4 commit 93f3c6a
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 93f3c6a

Please sign in to comment.