[Vuejs]-AWS S3 Static Website Hosting with Vue.js is blank

0👍

Your web page is attempting to load assets from the wrong location. You are seeing 403 (Forbidden) and that’s because your page is accidentally specifying an S3 bucket name of ‘static’ which either does not exist or you do not have access to it. This URL is incorrect:

If you intend to use path-style URLs for static assets then URLs should be of the form:

Alternatively, you can use virtual-hosted–style URLs, of the form:

Note the inclusion of ‘mybucket’ in both URLs.

👤jarmod

Leave a comment