I have implemented SSR for an angular app with Angular universal and Aws lambda.
The HTML content is loaded but the static files are not rendering.
When i try to indvidually access the js file i get {message:forbidden}
Serverless.yml
service: ngx-serverless-starter
plugins:
- serverless-offline
provider:
name: aws
runtime: nodejs12.x
lambdaHashingVersion: 20201221
memorySize: 192
timeout: 10
package:
patterns:
- "!/**"
- "node_modules/@vendia/serverless-express/**"
- "dist/**"
- "lambda.js"
functions:
api:
handler: lambda.handler
events:
- http: GET /
- http: GET /{proxy+}