amazon-archives / aws-cognito-angular-quickstart

An Angular(v5)-based QuickStart single-page app utilizing Amazon Cognito, S3, and DynamoDB (Serverless architecture)
https://cognito.budilov.com
Apache License 2.0
689 stars 304 forks source link

<base href="./"> ? #129

Open truk-nosral opened 6 years ago

truk-nosral commented 6 years ago

I had to change the base href to include the '.' prefix in order to get the application rendering correctly from S3. Otherwise resource request from index.html were to, for example https://s3.us-east-2.amazonaws.com/assets/css/bootstrap.min.css instead of https://s3.us-east-2.amazonaws.com/[my-app]/assets/css/bootstrap.min.css

both base href = "/" or "./" worked fine locally

jaimeplier commented 5 years ago

Would you mind giving me a hint? I tried building it with and I still get the error of not reaching the assets folder.