Add Skapps to health check by setting the max http header size

This commit is contained in:
Matthew Sevey 2020-08-31 15:46:29 -04:00
parent bf72a7e0c2
commit 58d7f395d5
3 changed files with 1041 additions and 2 deletions

View File

@ -9,3 +9,4 @@ COPY src/* src/
EXPOSE 3100
ENV NODE_ENV production
CMD [ "node", "src/index.js" ]
CMD [ "node", "--max-http-header-size=64000", "src/index.js" ]

View File

@ -0,0 +1,919 @@
const developMomentumMetadata = {
filename: "output",
subfiles: {
".well-known/brave-rewards-verification.txt": {
filename: ".well-known/brave-rewards-verification.txt",
contenttype: "text/plain",
len: 154,
},
"404.html": { filename: "404.html", contenttype: "text/html", offset: 154, len: 5482 },
"assets/bootstrap/bootstrap-grid.css": {
filename: "assets/bootstrap/bootstrap-grid.css",
contenttype: "text/css",
offset: 5636,
len: 49901,
},
"assets/bootstrap/bootstrap-reboot.css": {
filename: "assets/bootstrap/bootstrap-reboot.css",
contenttype: "text/css",
offset: 55537,
len: 4187,
},
"assets/bootstrap/bootstrap.css": {
filename: "assets/bootstrap/bootstrap.css",
contenttype: "text/css",
offset: 59724,
len: 172594,
},
"assets/css/styles.css": { filename: "assets/css/styles.css", contenttype: "text/css", offset: 232318, len: 4887 },
"assets/fonts/dm-serif-display-v4-latin-regular.woff": {
filename: "assets/fonts/dm-serif-display-v4-latin-regular.woff",
contenttype: "application/font-woff",
offset: 237205,
len: 29916,
},
"assets/fonts/dm-serif-display-v4-latin-regular.woff2": {
filename: "assets/fonts/dm-serif-display-v4-latin-regular.woff2",
contenttype: "application/octet-stream",
offset: 267121,
len: 24980,
},
"assets/fonts/open-sans-v16-latin-regular.woff": {
filename: "assets/fonts/open-sans-v16-latin-regular.woff",
contenttype: "application/font-woff",
offset: 292101,
len: 18100,
},
"assets/fonts/open-sans-v16-latin-regular.woff2": {
filename: "assets/fonts/open-sans-v16-latin-regular.woff2",
contenttype: "application/octet-stream",
offset: 310201,
len: 14380,
},
"assets/fonts/questrial-v9-latin-regular.woff": {
filename: "assets/fonts/questrial-v9-latin-regular.woff",
contenttype: "application/font-woff",
offset: 324581,
len: 23048,
},
"assets/fonts/questrial-v9-latin-regular.woff2": {
filename: "assets/fonts/questrial-v9-latin-regular.woff2",
contenttype: "application/octet-stream",
offset: 347629,
len: 13776,
},
"assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667-w1920-h1440.jpg": {
filename: "assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667-w1920-h1440.jpg",
contenttype: "image/jpeg",
offset: 361405,
len: 79551,
},
"assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667-w960-h720.jpg": {
filename: "assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667-w960-h720.jpg",
contenttype: "image/jpeg",
offset: 440956,
len: 31700,
},
"assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667.jpg": {
filename: "assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667.jpg",
contenttype: "image/jpeg",
offset: 472656,
len: 69094,
},
"assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3-w1920-h1440.jpg": {
filename: "assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3-w1920-h1440.jpg",
contenttype: "image/jpeg",
offset: 541750,
len: 219602,
},
"assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3-w960-h720.jpg": {
filename: "assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3-w960-h720.jpg",
contenttype: "image/jpeg",
offset: 761352,
len: 67741,
},
"assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3.jpg": {
filename: "assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3.jpg",
contenttype: "image/jpeg",
offset: 829093,
len: 226910,
},
"assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab-w1920-h1440.jpg": {
filename: "assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab-w1920-h1440.jpg",
contenttype: "image/jpeg",
offset: 1056003,
len: 258292,
},
"assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab-w960-h720.jpg": {
filename: "assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab-w960-h720.jpg",
contenttype: "image/jpeg",
offset: 1314295,
len: 93250,
},
"assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab.jpg": {
filename: "assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab.jpg",
contenttype: "image/jpeg",
offset: 1407545,
len: 236722,
},
"assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b-w1920-h1440.jpg": {
filename: "assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b-w1920-h1440.jpg",
contenttype: "image/jpeg",
offset: 1644267,
len: 285727,
},
"assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b-w960-h720.jpg": {
filename: "assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b-w960-h720.jpg",
contenttype: "image/jpeg",
offset: 1929994,
len: 115524,
},
"assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b.jpg": {
filename: "assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b.jpg",
contenttype: "image/jpeg",
offset: 2045518,
len: 338905,
},
"assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932-w1920-h1440.jpg": {
filename: "assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932-w1920-h1440.jpg",
contenttype: "image/jpeg",
offset: 2384423,
len: 66608,
},
"assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932-w960-h720.jpg": {
filename: "assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932-w960-h720.jpg",
contenttype: "image/jpeg",
offset: 2451031,
len: 23239,
},
"assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932.jpg": {
filename: "assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932.jpg",
contenttype: "image/jpeg",
offset: 2474270,
len: 82334,
},
"assets/images/blog/content/17343f27-a62f-4193-a0e5-4190d948eb2e.png": {
filename: "assets/images/blog/content/17343f27-a62f-4193-a0e5-4190d948eb2e.png",
contenttype: "image/png",
offset: 2556604,
len: 8571,
},
"assets/images/blog/content/1748cc9c-9ea0-47b8-a110-ad3a114408d1.png": {
filename: "assets/images/blog/content/1748cc9c-9ea0-47b8-a110-ad3a114408d1.png",
contenttype: "image/png",
offset: 2565175,
len: 19776,
},
"assets/images/blog/content/27b98c5e-ba57-47e6-9fe7-9b82fb89868b.jpg": {
filename: "assets/images/blog/content/27b98c5e-ba57-47e6-9fe7-9b82fb89868b.jpg",
contenttype: "image/jpeg",
offset: 2584951,
len: 68054,
},
"assets/images/blog/content/39374de9-f24a-46f6-9955-982687607c6d.png": {
filename: "assets/images/blog/content/39374de9-f24a-46f6-9955-982687607c6d.png",
contenttype: "image/png",
offset: 2653005,
len: 30305,
},
"assets/images/blog/content/5c660f5c-04fb-46cd-9846-edccb9a7b778.jpg": {
filename: "assets/images/blog/content/5c660f5c-04fb-46cd-9846-edccb9a7b778.jpg",
contenttype: "image/jpeg",
offset: 2683310,
len: 10409,
},
"assets/images/blog/content/5cb6fb87-75d0-4aa4-99c7-b7815ca7ea70.png": {
filename: "assets/images/blog/content/5cb6fb87-75d0-4aa4-99c7-b7815ca7ea70.png",
contenttype: "image/png",
offset: 2693719,
len: 123977,
},
"assets/images/blog/content/765827f6-192b-48c9-b3e1-cb7b33e3b881.png": {
filename: "assets/images/blog/content/765827f6-192b-48c9-b3e1-cb7b33e3b881.png",
contenttype: "image/png",
offset: 2817696,
len: 110297,
},
"assets/images/blog/content/7b39a2f8-8060-43e7-a439-43f799d3e069.jpg": {
filename: "assets/images/blog/content/7b39a2f8-8060-43e7-a439-43f799d3e069.jpg",
contenttype: "image/jpeg",
offset: 2927993,
len: 24372,
},
"assets/images/blog/content/8af4faff-e011-4e31-ba28-5023f65d1003.png": {
filename: "assets/images/blog/content/8af4faff-e011-4e31-ba28-5023f65d1003.png",
contenttype: "image/png",
offset: 2952365,
len: 106400,
},
"assets/images/blog/content/ae29cd58-f28f-4a0e-bffb-a7e4e1235797.png": {
filename: "assets/images/blog/content/ae29cd58-f28f-4a0e-bffb-a7e4e1235797.png",
contenttype: "image/png",
offset: 3058765,
len: 33357,
},
"assets/images/blog/content/b3be6c1c-725a-4af2-a85f-e47e09bbceef.png": {
filename: "assets/images/blog/content/b3be6c1c-725a-4af2-a85f-e47e09bbceef.png",
contenttype: "image/png",
offset: 3092122,
len: 37074,
},
"assets/images/blog/content/b4e772a3-effb-4a5d-82d9-db9596ccfe51.png": {
filename: "assets/images/blog/content/b4e772a3-effb-4a5d-82d9-db9596ccfe51.png",
contenttype: "image/png",
offset: 3129196,
len: 79662,
},
"assets/images/blog/content/d2731109-b50f-4c1f-b4f9-7ab8cac196da.png": {
filename: "assets/images/blog/content/d2731109-b50f-4c1f-b4f9-7ab8cac196da.png",
contenttype: "image/png",
offset: 3208858,
len: 104535,
},
"assets/images/blog/content/fed0e592-d063-497b-9a3b-2bfc29b04d1a.jpg": {
filename: "assets/images/blog/content/fed0e592-d063-497b-9a3b-2bfc29b04d1a.jpg",
contenttype: "image/jpeg",
offset: 3313393,
len: 9535,
},
"assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3-w1920-h1440.jpg": {
filename: "assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3-w1920-h1440.jpg",
contenttype: "image/jpeg",
offset: 3322928,
len: 402770,
},
"assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3-w960-h720.jpg": {
filename: "assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3-w960-h720.jpg",
contenttype: "image/jpeg",
offset: 3725698,
len: 143539,
},
"assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3.jpg": {
filename: "assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3.jpg",
contenttype: "image/jpeg",
offset: 3869237,
len: 375170,
},
"assets/images/logo.svg": {
filename: "assets/images/logo.svg",
contenttype: "image/svg+xml",
offset: 4244407,
len: 2183,
},
"assets/js/themes.js": {
filename: "assets/js/themes.js",
contenttype: "text/javascript",
offset: 4246590,
len: 779,
},
"blog/building_a_web_farm_with_docker_and_raspberry_pi.html": {
filename: "blog/building_a_web_farm_with_docker_and_raspberry_pi.html",
contenttype: "text/html",
offset: 4247369,
len: 23111,
},
"blog/continuously_deploy_a_static_website_with_azure_pipelines.html": {
filename: "blog/continuously_deploy_a_static_website_with_azure_pipelines.html",
contenttype: "text/html",
offset: 4270480,
len: 24738,
},
"blog/decentralise_your_website_as_much_as_possible.html": {
filename: "blog/decentralise_your_website_as_much_as_possible.html",
contenttype: "text/html",
offset: 4295218,
len: 14825,
},
"blog/developing_smart_contracts_for_business.html": {
filename: "blog/developing_smart_contracts_for_business.html",
contenttype: "text/html",
offset: 4310043,
len: 25783,
},
"blog/getting_to_grips_with_jwt_in_asp_net_core.html": {
filename: "blog/getting_to_grips_with_jwt_in_asp_net_core.html",
contenttype: "text/html",
offset: 4335826,
len: 20915,
},
"blog/index.html": { filename: "blog/index.html", contenttype: "text/html", offset: 4356741, len: 7345 },
"blog/setting_up_an_asp_net_core_web_farm.html": {
filename: "blog/setting_up_an_asp_net_core_web_farm.html",
contenttype: "text/html",
offset: 4364086,
len: 11464,
},
"favicon-16x16.png": { filename: "favicon-16x16.png", contenttype: "image/png", offset: 4375550, len: 430 },
"favicon-32x32.png": { filename: "favicon-32x32.png", contenttype: "image/png", offset: 4375980, len: 540 },
"favicon.ico": { filename: "favicon.ico", contenttype: "image/x-icon", offset: 4376520, len: 15086 },
"feed.atom": { filename: "feed.atom", contenttype: "application/octet-stream", offset: 4391606, len: 95092 },
"index.html": { filename: "index.html", contenttype: "text/html", offset: 4486698, len: 4981 },
},
};
const uniswapMetadata = {
filename: "build",
subfiles: {
"451.html": { filename: "451.html", contenttype: "text/html", offset: 20181232, len: 200 },
"asset-manifest.json": {
filename: "asset-manifest.json",
contenttype: "application/json",
offset: 485031,
len: 4561,
},
"favicon.png": { filename: "favicon.png", contenttype: "image/png", offset: 489592, len: 7072 },
"images/192x192_App_Icon.png": {
filename: "images/192x192_App_Icon.png",
contenttype: "image/png",
offset: 434153,
len: 50878,
},
"images/512x512_App_Icon.png": {
filename: "images/512x512_App_Icon.png",
contenttype: "image/png",
offset: 47542,
len: 386611,
},
"index.html": { filename: "index.html", contenttype: "text/html", len: 3268 },
"locales/de.json": { filename: "locales/de.json", contenttype: "application/json", offset: 7491, len: 4376 },
"locales/en.json": { filename: "locales/en.json", contenttype: "application/json", offset: 23709, len: 4321 },
"locales/es-AR.json": { filename: "locales/es-AR.json", contenttype: "application/json", offset: 16866, len: 3624 },
"locales/es-US.json": { filename: "locales/es-US.json", contenttype: "application/json", offset: 43912, len: 3630 },
"locales/it-IT.json": { filename: "locales/it-IT.json", contenttype: "application/json", offset: 3268, len: 4223 },
"locales/iw.json": { filename: "locales/iw.json", contenttype: "application/json", offset: 28030, len: 3929 },
"locales/ro.json": { filename: "locales/ro.json", contenttype: "application/json", offset: 31959, len: 3794 },
"locales/ru.json": { filename: "locales/ru.json", contenttype: "application/json", offset: 11867, len: 4999 },
"locales/vi.json": { filename: "locales/vi.json", contenttype: "application/json", offset: 39011, len: 4901 },
"locales/zh-CN.json": { filename: "locales/zh-CN.json", contenttype: "application/json", offset: 20490, len: 3219 },
"locales/zh-TW.json": { filename: "locales/zh-TW.json", contenttype: "application/json", offset: 35753, len: 3258 },
"manifest.json": { filename: "manifest.json", contenttype: "application/json", offset: 20190818, len: 470 },
"precache-manifest.5ce41899d70d2e0450f591b3e917c2a4.js": {
filename: "precache-manifest.5ce41899d70d2e0450f591b3e917c2a4.js",
contenttype: "application/x-javascript",
offset: 20181432,
len: 9386,
},
"service-worker.js": {
filename: "service-worker.js",
contenttype: "application/x-javascript",
offset: 20191288,
len: 1183,
},
"static/css/4.f04942fe.chunk.css": {
filename: "static/css/4.f04942fe.chunk.css",
contenttype: "text/css",
offset: 496664,
len: 5331,
},
"static/css/4.f04942fe.chunk.css.map": {
filename: "static/css/4.f04942fe.chunk.css.map",
contenttype: "application/octet-stream",
offset: 501995,
len: 8394,
},
"static/js/0.1043efff.chunk.js": {
filename: "static/js/0.1043efff.chunk.js",
contenttype: "application/x-javascript",
offset: 3451819,
len: 226756,
},
"static/js/0.1043efff.chunk.js.map": {
filename: "static/js/0.1043efff.chunk.js.map",
contenttype: "application/octet-stream",
offset: 8495570,
len: 811341,
},
"static/js/1.722d768c.chunk.js": {
filename: "static/js/1.722d768c.chunk.js",
contenttype: "application/x-javascript",
offset: 2503781,
len: 20289,
},
"static/js/1.722d768c.chunk.js.map": {
filename: "static/js/1.722d768c.chunk.js.map",
contenttype: "application/octet-stream",
offset: 11896220,
len: 44729,
},
"static/js/4.cebcd4f8.chunk.js": {
filename: "static/js/4.cebcd4f8.chunk.js",
contenttype: "application/x-javascript",
offset: 11941212,
len: 1486762,
},
"static/js/4.cebcd4f8.chunk.js.LICENSE.txt": {
filename: "static/js/4.cebcd4f8.chunk.js.LICENSE.txt",
contenttype: "text/plain",
offset: 14378677,
len: 3519,
},
"static/js/4.cebcd4f8.chunk.js.map": {
filename: "static/js/4.cebcd4f8.chunk.js.map",
contenttype: "application/octet-stream",
offset: 3678575,
len: 4816995,
},
"static/js/5.428f04e8.chunk.js": {
filename: "static/js/5.428f04e8.chunk.js",
contenttype: "application/x-javascript",
offset: 1887438,
len: 616343,
},
"static/js/5.428f04e8.chunk.js.LICENSE.txt": {
filename: "static/js/5.428f04e8.chunk.js.LICENSE.txt",
contenttype: "text/plain",
offset: 3450983,
len: 426,
},
"static/js/5.428f04e8.chunk.js.map": {
filename: "static/js/5.428f04e8.chunk.js.map",
contenttype: "application/octet-stream",
offset: 10046674,
len: 1553345,
},
"static/js/6.29fcca22.chunk.js": {
filename: "static/js/6.29fcca22.chunk.js",
contenttype: "application/x-javascript",
offset: 11600019,
len: 296095,
},
"static/js/6.29fcca22.chunk.js.map": {
filename: "static/js/6.29fcca22.chunk.js.map",
contenttype: "application/octet-stream",
offset: 13440646,
len: 938031,
},
"static/js/7.8d2bc3b4.chunk.js": {
filename: "static/js/7.8d2bc3b4.chunk.js",
contenttype: "application/x-javascript",
offset: 9306911,
len: 263,
},
"static/js/7.8d2bc3b4.chunk.js.map": {
filename: "static/js/7.8d2bc3b4.chunk.js.map",
contenttype: "application/octet-stream",
offset: 11896114,
len: 106,
},
"static/js/8.3d784f08.chunk.js": {
filename: "static/js/8.3d784f08.chunk.js",
contenttype: "application/x-javascript",
offset: 11940949,
len: 263,
},
"static/js/8.3d784f08.chunk.js.map": {
filename: "static/js/8.3d784f08.chunk.js.map",
contenttype: "application/octet-stream",
offset: 3450877,
len: 106,
},
"static/js/9.08920d68.chunk.js": {
filename: "static/js/9.08920d68.chunk.js",
contenttype: "application/x-javascript",
offset: 2524070,
len: 626875,
},
"static/js/9.08920d68.chunk.js.LICENSE.txt": {
filename: "static/js/9.08920d68.chunk.js.LICENSE.txt",
contenttype: "text/plain",
offset: 3451409,
len: 410,
},
"static/js/9.08920d68.chunk.js.map": {
filename: "static/js/9.08920d68.chunk.js.map",
contenttype: "application/octet-stream",
offset: 512852,
len: 1374586,
},
"static/js/main.d2a5ca05.chunk.js": {
filename: "static/js/main.d2a5ca05.chunk.js",
contenttype: "application/x-javascript",
offset: 3150945,
len: 299932,
},
"static/js/main.d2a5ca05.chunk.js.map": {
filename: "static/js/main.d2a5ca05.chunk.js.map",
contenttype: "application/octet-stream",
offset: 9307174,
len: 739500,
},
"static/js/runtime-main.712341b8.js": {
filename: "static/js/runtime-main.712341b8.js",
contenttype: "application/x-javascript",
offset: 510389,
len: 2463,
},
"static/js/runtime-main.712341b8.js.map": {
filename: "static/js/runtime-main.712341b8.js.map",
contenttype: "application/octet-stream",
offset: 13427974,
len: 12672,
},
"static/media/Inter-Black.09f4068b.woff2": {
filename: "static/media/Inter-Black.09f4068b.woff2",
contenttype: "application/octet-stream",
offset: 16311114,
len: 104656,
},
"static/media/Inter-Black.e3735483.woff": {
filename: "static/media/Inter-Black.e3735483.woff",
contenttype: "application/octet-stream",
offset: 16415770,
len: 139648,
},
"static/media/Inter-BlackItalic.07e69b53.woff": {
filename: "static/media/Inter-BlackItalic.07e69b53.woff",
contenttype: "application/octet-stream",
offset: 15020483,
len: 145816,
},
"static/media/Inter-BlackItalic.daa1ca3c.woff2": {
filename: "static/media/Inter-BlackItalic.daa1ca3c.woff2",
contenttype: "application/octet-stream",
offset: 19675808,
len: 109900,
},
"static/media/Inter-Bold.79260e5b.woff": {
filename: "static/media/Inter-Bold.79260e5b.woff",
contenttype: "application/octet-stream",
offset: 15781749,
len: 143464,
},
"static/media/Inter-Bold.aed27700.woff2": {
filename: "static/media/Inter-Bold.aed27700.woff2",
contenttype: "application/octet-stream",
offset: 16555739,
len: 107144,
},
"static/media/Inter-BoldItalic.8ef77a03.woff2": {
filename: "static/media/Inter-BoldItalic.8ef77a03.woff2",
contenttype: "application/octet-stream",
offset: 17104768,
len: 112276,
},
"static/media/Inter-BoldItalic.e0879d64.woff": {
filename: "static/media/Inter-BoldItalic.e0879d64.woff",
contenttype: "application/octet-stream",
offset: 15483981,
len: 149360,
},
"static/media/Inter-ExtraBold.38bc51bc.woff": {
filename: "static/media/Inter-ExtraBold.38bc51bc.woff",
contenttype: "application/octet-stream",
offset: 19419594,
len: 143256,
},
"static/media/Inter-ExtraBold.92d16aee.woff2": {
filename: "static/media/Inter-ExtraBold.92d16aee.woff2",
contenttype: "application/octet-stream",
offset: 19312290,
len: 107304,
},
"static/media/Inter-ExtraBoldItalic.0e4b21eb.woff": {
filename: "static/media/Inter-ExtraBoldItalic.0e4b21eb.woff",
contenttype: "application/octet-stream",
offset: 16671312,
len: 149116,
},
"static/media/Inter-ExtraBoldItalic.57ea76d0.woff2": {
filename: "static/media/Inter-ExtraBoldItalic.57ea76d0.woff2",
contenttype: "application/octet-stream",
offset: 18732262,
len: 112656,
},
"static/media/Inter-ExtraLight.4bd040df.woff": {
filename: "static/media/Inter-ExtraLight.4bd040df.woff",
contenttype: "application/octet-stream",
offset: 14746958,
len: 141344,
},
"static/media/Inter-ExtraLight.4d9f96f8.woff2": {
filename: "static/media/Inter-ExtraLight.4d9f96f8.woff2",
contenttype: "application/octet-stream",
offset: 18945450,
len: 105444,
},
"static/media/Inter-ExtraLightItalic.54d3d9a5.woff2": {
filename: "static/media/Inter-ExtraLightItalic.54d3d9a5.woff2",
contenttype: "application/octet-stream",
offset: 14888302,
len: 111804,
},
"static/media/Inter-ExtraLightItalic.84c26656.woff": {
filename: "static/media/Inter-ExtraLightItalic.84c26656.woff",
contenttype: "application/octet-stream",
offset: 18569981,
len: 148416,
},
"static/media/Inter-Italic.9528384c.woff2": {
filename: "static/media/Inter-Italic.9528384c.woff2",
contenttype: "application/octet-stream",
offset: 14383371,
len: 108172,
},
"static/media/Inter-Italic.e4ad3666.woff": {
filename: "static/media/Inter-Italic.e4ad3666.woff",
contenttype: "application/octet-stream",
offset: 20037756,
len: 143476,
},
"static/media/Inter-Light.5baca21a.woff2": {
filename: "static/media/Inter-Light.5baca21a.woff2",
contenttype: "application/octet-stream",
offset: 18016306,
len: 105556,
},
"static/media/Inter-Light.b9920de0.woff": {
filename: "static/media/Inter-Light.b9920de0.woff",
contenttype: "application/octet-stream",
offset: 18428717,
len: 141264,
},
"static/media/Inter-LightItalic.0555a46c.woff": {
filename: "static/media/Inter-LightItalic.0555a46c.woff",
contenttype: "application/octet-stream",
offset: 15633341,
len: 148408,
},
"static/media/Inter-LightItalic.adc70179.woff2": {
filename: "static/media/Inter-LightItalic.adc70179.woff2",
contenttype: "application/octet-stream",
offset: 19200250,
len: 112040,
},
"static/media/Inter-Medium.7a8cc724.woff": {
filename: "static/media/Inter-Medium.7a8cc724.woff",
contenttype: "application/octet-stream",
offset: 17763598,
len: 142780,
},
"static/media/Inter-Medium.f6cf0a0b.woff2": {
filename: "static/media/Inter-Medium.f6cf0a0b.woff2",
contenttype: "application/octet-stream",
offset: 17431014,
len: 106484,
},
"static/media/Inter-MediumItalic.417907d2.woff": {
filename: "static/media/Inter-MediumItalic.417907d2.woff",
contenttype: "application/octet-stream",
offset: 16955424,
len: 149344,
},
"static/media/Inter-MediumItalic.565a7104.woff2": {
filename: "static/media/Inter-MediumItalic.565a7104.woff2",
contenttype: "application/octet-stream",
offset: 17318374,
len: 112640,
},
"static/media/Inter-Regular.4dd66a11.woff2": {
filename: "static/media/Inter-Regular.4dd66a11.woff2",
contenttype: "application/octet-stream",
offset: 18844918,
len: 100368,
},
"static/media/Inter-Regular.7c539936.woff": {
filename: "static/media/Inter-Regular.7c539936.woff",
contenttype: "application/octet-stream",
offset: 16820428,
len: 134996,
},
"static/media/Inter-SemiBold.1db6c55c.woff": {
filename: "static/media/Inter-SemiBold.1db6c55c.woff",
contenttype: "application/octet-stream",
offset: 19785708,
len: 143148,
},
"static/media/Inter-SemiBold.dd8a55ef.woff2": {
filename: "static/media/Inter-SemiBold.dd8a55ef.woff2",
contenttype: "application/octet-stream",
offset: 14491543,
len: 106916,
},
"static/media/Inter-SemiBoldItalic.81678d1a.woff": {
filename: "static/media/Inter-SemiBoldItalic.81678d1a.woff",
contenttype: "application/octet-stream",
offset: 19050894,
len: 149356,
},
"static/media/Inter-SemiBoldItalic.ac201e30.woff2": {
filename: "static/media/Inter-SemiBoldItalic.ac201e30.woff2",
contenttype: "application/octet-stream",
offset: 19562850,
len: 112768,
},
"static/media/Inter-Thin.850febbe.woff2": {
filename: "static/media/Inter-Thin.850febbe.woff2",
contenttype: "application/octet-stream",
offset: 17217044,
len: 101004,
},
"static/media/Inter-Thin.ead42837.woff": {
filename: "static/media/Inter-Thin.ead42837.woff",
contenttype: "application/octet-stream",
offset: 18230961,
len: 137068,
},
"static/media/Inter-ThinItalic.a76db065.woff": {
filename: "static/media/Inter-ThinItalic.a76db065.woff",
contenttype: "application/octet-stream",
offset: 16166265,
len: 144528,
},
"static/media/Inter-ThinItalic.e08d9b2a.woff2": {
filename: "static/media/Inter-ThinItalic.e08d9b2a.woff2",
contenttype: "application/octet-stream",
offset: 19930172,
len: 107584,
},
"static/media/Inter-italic.var.2690e3c2.woff2": {
filename: "static/media/Inter-italic.var.2690e3c2.woff2",
contenttype: "application/octet-stream",
offset: 15925213,
len: 241052,
},
"static/media/Inter-roman.var.90e8f61d.woff2": {
filename: "static/media/Inter-roman.var.90e8f61d.woff2",
contenttype: "application/octet-stream",
offset: 17537498,
len: 226100,
},
"static/media/Inter.var.4b976905.woff2": {
filename: "static/media/Inter.var.4b976905.woff2",
contenttype: "application/octet-stream",
offset: 15166461,
len: 317520,
},
"static/media/arrow-down-blue.cd061363.svg": {
filename: "static/media/arrow-down-blue.cd061363.svg",
contenttype: "image/svg+xml",
offset: 17318048,
len: 326,
},
"static/media/arrow-down-grey.c0dedd2f.svg": {
filename: "static/media/arrow-down-grey.c0dedd2f.svg",
contenttype: "image/svg+xml",
offset: 15000106,
len: 326,
},
"static/media/arrow-right-white.337ad716.png": {
filename: "static/media/arrow-right-white.337ad716.png",
contenttype: "image/png",
offset: 15000432,
len: 12999,
},
"static/media/arrow-right.d285b6cf.svg": {
filename: "static/media/arrow-right.d285b6cf.svg",
contenttype: "image/svg+xml",
offset: 19929626,
len: 263,
},
"static/media/blue-loader.904b44c2.svg": {
filename: "static/media/blue-loader.904b44c2.svg",
contenttype: "image/svg+xml",
offset: 19929889,
len: 283,
},
"static/media/circle-grey.ed2a1dad.svg": {
filename: "static/media/circle-grey.ed2a1dad.svg",
contenttype: "image/svg+xml",
offset: 16310793,
len: 321,
},
"static/media/circle.2d975615.svg": {
filename: "static/media/circle.2d975615.svg",
contenttype: "image/svg+xml",
offset: 16555418,
len: 321,
},
"static/media/coinbaseWalletIcon.62578f59.svg": {
filename: "static/media/coinbaseWalletIcon.62578f59.svg",
contenttype: "image/svg+xml",
offset: 18375091,
len: 53626,
},
"static/media/dropdown-blue.b20914ec.svg": {
filename: "static/media/dropdown-blue.b20914ec.svg",
contenttype: "image/svg+xml",
offset: 14382513,
len: 164,
},
"static/media/dropdown.7d32d2fa.svg": {
filename: "static/media/dropdown.7d32d2fa.svg",
contenttype: "image/svg+xml",
offset: 18945286,
len: 164,
},
"static/media/dropup-blue.b96d70e1.svg": {
filename: "static/media/dropup-blue.b96d70e1.svg",
contenttype: "image/svg+xml",
offset: 15166299,
len: 162,
},
"static/media/link.50c67f3c.svg": {
filename: "static/media/link.50c67f3c.svg",
contenttype: "image/svg+xml",
offset: 14382196,
len: 317,
},
"static/media/logo.5827780d.svg": {
filename: "static/media/logo.5827780d.svg",
contenttype: "image/svg+xml",
offset: 15013431,
len: 7052,
},
"static/media/logo_white.edb44e56.svg": {
filename: "static/media/logo_white.edb44e56.svg",
contenttype: "image/svg+xml",
offset: 18368029,
len: 7062,
},
"static/media/magnifying-glass.67440097.svg": {
filename: "static/media/magnifying-glass.67440097.svg",
contenttype: "image/svg+xml",
offset: 16662883,
len: 8429,
},
"static/media/menu.4f2c4440.svg": {
filename: "static/media/menu.4f2c4440.svg",
contenttype: "image/svg+xml",
offset: 18015579,
len: 727,
},
"static/media/metamask.023762b6.png": {
filename: "static/media/metamask.023762b6.png",
contenttype: "image/png",
offset: 14611832,
len: 114217,
},
"static/media/plus-blue.e8021e51.svg": {
filename: "static/media/plus-blue.e8021e51.svg",
contenttype: "image/svg+xml",
offset: 14746469,
len: 190,
},
"static/media/plus-grey.d8e0be7d.svg": {
filename: "static/media/plus-grey.d8e0be7d.svg",
contenttype: "image/svg+xml",
offset: 19675618,
len: 190,
},
"static/media/portisIcon.b234b2bf.png": {
filename: "static/media/portisIcon.b234b2bf.png",
contenttype: "image/png",
offset: 18718397,
len: 13865,
},
"static/media/question-mark.1ae4d9f4.svg": {
filename: "static/media/question-mark.1ae4d9f4.svg",
contenttype: "image/svg+xml",
offset: 14726049,
len: 818,
},
"static/media/question.a46e8bc1.svg": {
filename: "static/media/question.a46e8bc1.svg",
contenttype: "image/svg+xml",
offset: 19928856,
len: 770,
},
"static/media/spinner.be00fc4a.svg": {
filename: "static/media/spinner.be00fc4a.svg",
contenttype: "image/svg+xml",
offset: 14382677,
len: 694,
},
"static/media/trustWallet.edcc1ab5.png": {
filename: "static/media/trustWallet.edcc1ab5.png",
contenttype: "image/png",
offset: 14726867,
len: 19602,
},
"static/media/walletConnectIcon.8215855c.svg": {
filename: "static/media/walletConnectIcon.8215855c.svg",
contenttype: "image/svg+xml",
offset: 14598459,
len: 13373,
},
"static/media/wordmark.b75565ae.svg": {
filename: "static/media/wordmark.b75565ae.svg",
contenttype: "image/svg+xml",
offset: 18121862,
len: 109099,
},
"static/media/wordmark_white.9914390f.svg": {
filename: "static/media/wordmark_white.9914390f.svg",
contenttype: "image/svg+xml",
offset: 17906378,
len: 109201,
},
"static/media/x.5b8e2186.svg": {
filename: "static/media/x.5b8e2186.svg",
contenttype: "image/svg+xml",
offset: 14746659,
len: 299,
},
},
defaultpath: "/index.html",
};
module.exports.uniswapMetadata = uniswapMetadata;
module.exports.developMomentumMetadata = developMomentumMetadata;

View File

@ -3,6 +3,8 @@ const hash = require("object-hash");
const { detailedDiff } = require("deep-object-diff");
const { isEqual } = require("lodash");
const checks = require("./basicChecks");
const uniswapMetadata = require("./metadata");
const developMomentumMetadata = require("./metadata");
// audioExampleCheck returns the result of trying to download the skylink
// for the Example audio file on siasky.net
@ -69,13 +71,41 @@ function dappExampleCheck(done) {
skylinkVerification(done, linkInfo);
}
const developMomentumBodyHash = "53b44a9d3cfa9b3d66ce5c29976f4383725d3652";
// developMomentumCheck returns the result of trying to download the skylink
// for the Develop Momentum Application
function developMomentumCheck(done) {
const linkInfo = {
description: "Develop Momentum Index File",
skylink: "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw/",
bodyHash: developMomentumBodyHash,
metadata: developMomentumMetadata,
};
skylinkVerification(done, linkInfo);
}
// developMomentumRedirectCheck returns the result of trying to download the skylink
// for the Develop Momentum Application without the tailing slash
function developMomentumRedirectCheck(done) {
const linkInfo = {
description: "Develop Momentum Index File",
skylink: "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw",
bodyHash: developMomentumBodyHash,
metadata: developMomentumMetadata,
};
skylinkVerification(done, linkInfo);
}
// developMomentumIndexFileCheck returns the result of trying to download the skylink
// for the Develop Momentum Application with a trailing /index.html
function developMomentumIndexFileCheck(done) {
const linkInfo = {
description: "Develop Momentum Index File",
skylink: "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw/index.html",
bodyHash: "53b44a9d3cfa9b3d66ce5c29976f4383725d3652",
bodyHash: developMomentumBodyHash,
metadata: {
filename: "/index.html",
length: 4981,
@ -534,13 +564,41 @@ function uncensoredLibraryCheck(done) {
skylinkVerification(done, linkInfo);
}
const uniswapBodyHash = "3965f9a7def085b3a764ddc76a528eda38d72359";
// uniswapCheck returns the result of trying to download the skylink
// for the Uniswap Application
function uniswapCheck(done) {
const linkInfo = {
description: "Uniswap",
skylink: "IAC6CkhNYuWZqMVr1gob1B6tPg4MrBGRzTaDvAIAeu9A9w/",
bodyHash: uniswapBodyHash,
metadata: uniswapMetadata,
};
skylinkVerification(done, linkInfo);
}
// uniswapRedirectCheck returns the result of trying to download the skylink
// for the Uniswap Application without a trailing slash
function uniswapRedirectCheck(done) {
const linkInfo = {
description: "Uniswap",
skylink: "IAC6CkhNYuWZqMVr1gob1B6tPg4MrBGRzTaDvAIAeu9A9w",
bodyHash: uniswapBodyHash,
metadata: uniswapMetadata,
};
skylinkVerification(done, linkInfo);
}
// uniswapIndexFileCheck returns the result of trying to download the skylink
// for the Uniswap Application with a trailing /index.html
function uniswapIndexFileCheck(done) {
const linkInfo = {
description: "Uniswap Skylink Index File",
skylink: "IAC6CkhNYuWZqMVr1gob1B6tPg4MrBGRzTaDvAIAeu9A9w/index.html",
bodyHash: "3965f9a7def085b3a764ddc76a528eda38d72359",
bodyHash: uniswapBodyHash,
metadata: {
filename: "/index.html",
length: 3268,
@ -551,6 +609,59 @@ function uniswapIndexFileCheck(done) {
skylinkVerification(done, linkInfo);
}
// uniswapHNSCheck returns the result of trying to download the skylink
// for the Uniswap Application with the HNS domain
function uniswapHNSCheck(done) {
const linkInfo = {
description: "Uniswap HNS",
skylink: "hns/doesn/",
bodyHash: uniswapBodyHash,
metadata: uniswapMetadata,
};
skylinkVerification(done, linkInfo);
}
// uniswapHNSRedirectCheck returns the result of trying to download the skylink
// for the Uniswap Application with the HNS domain and without a trailing slash
function uniswapHNSRedirectCheck(done) {
const linkInfo = {
description: "Uniswap HNS Redirect",
skylink: "hns/doesn",
bodyHash: uniswapBodyHash,
metadata: uniswapMetadata,
};
skylinkVerification(done, linkInfo);
}
// uniswapHNSResolverCheck returns the result of trying to download the skylink
// for the Uniswap Application via the HNS resolver endpoint
function uniswapHNSResolverCheck(done) {
const linkInfo = {
description: "Uniswap HNS Resolver",
skylink: "hnsres/doesn/",
bodyHash: "44a3f0f56861ae841a6cb19cb0b3edf98ad610f8",
metadata: null,
};
skylinkVerification(done, linkInfo);
}
// uniswapHNSResolverRedirectCheck returns the result of trying to download the skylink
// for the Uniswap Application via the HNS resolver endpoint without the
// trailing slash
function uniswapHNSResolverRedirectCheck(done) {
const linkInfo = {
description: "Uniswap HNS Resolver Redirect",
skylink: "hnsres/doesn",
bodyHash: "44a3f0f56861ae841a6cb19cb0b3edf98ad610f8",
metadata: null,
};
skylinkVerification(done, linkInfo);
}
// skylinkVerification verifies a skylink against known information provided in
// the linkInfo.
function skylinkVerification(done, linkInfo) {
@ -606,6 +717,8 @@ module.exports.verboseChecks = [
covid19CoroNopePaperCheck,
dappExampleCheck,
developMomentumIndexFileCheck,
developMomentumCheck,
developMomentumRedirectCheck,
htmlExampleCheck,
imageExampleCheck,
jsonExampleCheck,
@ -621,4 +734,10 @@ module.exports.verboseChecks = [
skyGalleryRedirectCheck,
uncensoredLibraryCheck,
uniswapIndexFileCheck,
uniswapCheck,
uniswapRedirectCheck,
uniswapHNSCheck,
uniswapHNSRedirectCheck,
uniswapHNSResolverCheck,
uniswapHNSResolverRedirectCheck,
];