Приложение Angular Serverless, развернутое на AWS API Gateway, не в состоянии загружать файлы CSS и JS - PullRequest
0 голосов
/ 28 июня 2019

Я пытаюсь развернуть сборку угловых приложений с поддержкой SEO с помощью ng-toolkit на серверной поддержке AWS API Gateway (Lambda).

Я следовал этому руководству для создания шлюза API

Я также создал имя настраиваемого домена и установил его в Route53 с AWS.Мое приложение загружается, но файлы css и js (время выполнения, pollifil, скрипт и т. Д.) Получают 502 ошибки.

Failed to load resource: the server responded with a status of 502 ()
styles.634845ac30ccca9cb5d7.css:1 Failed to load resource: the server responded with a status of 502 ()
runtime.26209474bfa8dc87a77c.js:1 Failed to load resource: the server responded with a status of 502 ()
polyfills.24878f0fc306c9c3ca3c.js:1 Failed to load resource: the server responded with a status of 502 ()
styles.634845ac30ccca9cb5d7.css:1 Failed to load resource: the server responded with a status of 502 ()
main.5a5a237378fc4ab383ce.js:1 Failed to load resource: the server responded with a status of 502 ()
...