diff --git a/cloudformation/template.yaml b/cloudformation/template.yaml index 2080acdf7..18f419277 100644 --- a/cloudformation/template.yaml +++ b/cloudformation/template.yaml @@ -144,6 +144,49 @@ Mappings: us-gov-west-1: s3Url: '.s3-website-us-gov-west-1.amazonaws.com' +Mappings: + # this information comes from these locations, and will need to be kept manually up to date: + # https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints + # https://docs.aws.amazon.com/govcloud-us/latest/ug-west/using-govcloud-endpoints.html + # http://docs.amazonaws.cn/en_us/general/latest/gr/rande.html#cnnorth_region + RegionSpecificConfig: + us-east-2: + s3Url: '.s3-website.us-east-2.amazonaws.com' + us-east-1: + s3Url: '.s3-website-us-east-1.amazonaws.com' + us-west-1: + s3Url: '.s3-website-us-west-1.amazonaws.com' + us-west-2: + s3Url: '.s3-website-us-west-2.amazonaws.com' + ap-south-1: + s3Url: '.s3-website.ap-south-1.amazonaws.com' + ap-northeast-3: + s3Url: '.s3-website.ap-northeast-3.amazonaws.com' + ap-northeast-2: + s3Url: '.s3-website.ap-northeast-2.amazonaws.com' + ap-southeast-1: + s3Url: '.s3-website-ap-southeast-1.amazonaws.com' + ap-southeast-2: + s3Url: '.s3-website-ap-southeast-2.amazonaws.com' + ap-northeast-1: + s3Url: '.s3-website-ap-northeast-1.amazonaws.com' + ca-central-1: + s3Url: '.s3-website.ca-central-1.amazonaws.com' + cn-northwest-1: + s3Url: '.s3-website.cn-northwest-1.amazonaws.com.cn' + eu-central-1: + s3Url: '.s3-website.eu-central-1.amazonaws.com' + eu-west-1: + s3Url: '.s3-website-eu-west-1.amazonaws.com' + eu-west-2: + s3Url: '.s3-website.eu-west-2.amazonaws.com' + eu-west-3: + s3Url: '.s3-website.eu-west-3.amazonaws.com' + sa-east-1: + s3Url: '.s3-website-sa-east-1.amazonaws.com' + us-gov-west-1: + s3Url: '.s3-website-us-gov-west-1.amazonaws.com' + Resources: ApiGatewayApi: Type: AWS::Serverless::Api diff --git a/lambdas/static-asset-uploader/build/index.html b/lambdas/static-asset-uploader/build/index.html index 2fcd9ecdb..b73927594 100644 --- a/lambdas/static-asset-uploader/build/index.html +++ b/lambdas/static-asset-uploader/build/index.html @@ -1 +1 @@ -
=e&&(t=r<0?e-1:e),t}},N.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var n,i,o,a;if(r[r.length-1].variadic){if(t.lengths&&(s=r,t=i[c]);return t},_functionMinBy:function(e){for(var t,r,n=e[1],i=e[0],o=this.createKeyFunction(n,[a,u]),s=1/0,c=0;c