Testing Page
Don't just take my word for it, test out the site yourself.
Maybe even take a peek at the html.
Test 1: Secured Object Storage
Click the button to test a direct link to the home.html file.
Test 2: Cross-site Requests (CORS)
Click the 1st button to showcase with CORS setup, then the 2nd to showcase without CORS.
Take a look at the website visit counter and see how it stops functioning without CORS.
Visitors:
Simplified Counter Retrieval Code
fetch('https://code.us-east-1.on.aws/')
.then((response) => response.json())
.then((data) => {
document.getElementById('PageVisits').innerText = data.simplecounter;
});
Test 3: Work in progress
More tests coming soon!