diff --git a/serverless/aws/src/index.ts b/serverless/aws/src/index.ts index 248f492..5c292ab 100644 --- a/serverless/aws/src/index.ts +++ b/serverless/aws/src/index.ts @@ -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