Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-bravo-yahoo authored Jan 21, 2019
2 parents 316fdbc + 8df360b commit f5792ef
Show file tree
Hide file tree
Showing 12 changed files with 556 additions and 2 deletions.
43 changes: 43 additions & 0 deletions cloudformation/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lambdas/static-asset-uploader/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><link rel="shortcut icon" href="/custom-content/favicon.ico"><script type="text/javascript" src="/config.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/axios/dist/axios.standalone.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/CryptoJS/rollups/hmac-sha256.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/CryptoJS/rollups/sha256.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/CryptoJS/components/hmac.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/CryptoJS/components/enc-base64.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/url-template/url-template.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/apiGatewayCore/sigV4Client.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/apiGatewayCore/apiGatewayClient.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/apiGatewayCore/simpleHttpClient.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/apiGatewayCore/utils.js"></script><script type="text/javascript" src="/apigateway-js-sdk/apigClient.js"></script><link rel="stylesheet" href="/custom-content/styles.css"><title>Developer Portal</title><link href="/static/css/1.eea67306.chunk.css" rel="stylesheet"><link href="/static/css/main.cf7abcb3.chunk.css" rel="stylesheet"></head><body><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={2:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/1.bf1ab6fe.chunk.js"></script><script src="/static/js/main.613fd5d6.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><link rel="shortcut icon" href="/custom-content/favicon.ico"><script type="text/javascript" src="/config.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/axios/dist/axios.standalone.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/CryptoJS/rollups/hmac-sha256.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/CryptoJS/rollups/sha256.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/CryptoJS/components/hmac.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/CryptoJS/components/enc-base64.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/url-template/url-template.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/apiGatewayCore/sigV4Client.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/apiGatewayCore/apiGatewayClient.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/apiGatewayCore/simpleHttpClient.js"></script><script type="text/javascript" src="/apigateway-js-sdk/lib/apiGatewayCore/utils.js"></script><script type="text/javascript" src="/apigateway-js-sdk/apigClient.js"></script><link rel="stylesheet" href="/custom-content/styles.css"><title>Developer Portal</title><link href="/static/css/1.eea67306.chunk.css" rel="stylesheet"><link href="/static/css/main.cf7abcb3.chunk.css" rel="stylesheet"></head><body><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={2:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/1.bf1ab6fe.chunk.js"></script><script src="/static/js/main.613fd5d6.chunk.js"></script></body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
self.__precacheManifest = [
{
"revision": "701ae6abd4719e9c2ada3535a497b341",
"url": "/static/media/outline-icons.701ae6ab.eot"
},
{
"revision": "d70b11fed9571a7f9c25",
"url": "/static/css/main.2e927c95.chunk.css"
},
{
"revision": "a1a749e89f578a49306ec2b055c073da",
"url": "/static/media/brand-icons.a1a749e8.svg"
},
{
"revision": "ac764b33e784c6f1e473",
"url": "/static/js/1.ac764b33.chunk.js"
},
{
"revision": "229c360febb4351a89df",
"url": "/static/js/runtime~main.229c360f.js"
},
{
"revision": "9c74e172f87984c48ddf5c8108cabe67",
"url": "/static/media/flags.9c74e172.png"
},
{
"revision": "8e3c7f5520f5ae906c6cf6d7f3ddcd19",
"url": "/static/media/icons.8e3c7f55.eot"
},
{
"revision": "0ab54153eeeca0ce03978cc463b257f7",
"url": "/static/media/icons.0ab54153.woff2"
},
{
"revision": "faff92145777a3cbaf8e7367b4807987",
"url": "/static/media/icons.faff9214.woff"
},
{
"revision": "b87b9ba532ace76ae9f6edfe9f72ded2",
"url": "/static/media/icons.b87b9ba5.ttf"
},
{
"revision": "962a1bf31c081691065fe333d9fa8105",
"url": "/static/media/icons.962a1bf3.svg"
},
{
"revision": "d70b11fed9571a7f9c25",
"url": "/static/js/main.d70b11fe.chunk.js"
},
{
"revision": "cd6c777f1945164224dee082abaea03a",
"url": "/static/media/outline-icons.cd6c777f.woff2"
},
{
"revision": "ef60a4f6c25ef7f39f2d25a748dbecfe",
"url": "/static/media/outline-icons.ef60a4f6.woff"
},
{
"revision": "ad97afd3337e8cda302d10ff5a4026b8",
"url": "/static/media/outline-icons.ad97afd3.ttf"
},
{
"revision": "82f60bd0b94a1ed68b1e6e309ce2e8c3",
"url": "/static/media/outline-icons.82f60bd0.svg"
},
{
"revision": "13db00b7a34fee4d819ab7f9838cc428",
"url": "/static/media/brand-icons.13db00b7.eot"
},
{
"revision": "e8c322de9658cbeb8a774b6624167c2c",
"url": "/static/media/brand-icons.e8c322de.woff2"
},
{
"revision": "a046592bac8f2fd96e994733faf3858c",
"url": "/static/media/brand-icons.a046592b.woff"
},
{
"revision": "c5ebe0b32dc1b5cc449a76c4204d13bb",
"url": "/static/media/brand-icons.c5ebe0b3.ttf"
},
{
"revision": "ac764b33e784c6f1e473",
"url": "/static/css/1.f1a84186.chunk.css"
},
{
"revision": "f648b6a6baed6a29c360e9825480b230",
"url": "/index.html"
}
];
2 changes: 1 addition & 1 deletion lambdas/static-asset-uploader/build/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* See https://goo.gl/2aRDsh
*/

importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.2/workbox-sw.js");

importScripts(
"/precache-manifest.000a4b73ba097441b941c1b3250e43c7.js"
Expand Down
411 changes: 411 additions & 0 deletions lambdas/static-asset-uploader/build/static/css/1.f1a84186.chunk.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit f5792ef

Please sign in to comment.