I am new to web development and used this tutorial to build my first static website with AWS. I successfully completed all modules and have a working webpage with user auth using AWS Cognito.
I added another webpage that uses AWS Elasticsearch to search IMDB movies. I put the search.js, which includes my api gateway endpoint in the js folder.
Now a user can use my s3endpointwebsite.com/js/search.js and see my api gateway endpoint and my cognito ids
I am new to web development and used this tutorial to build my first static website with AWS. I successfully completed all modules and have a working webpage with user auth using AWS Cognito.
I added another webpage that uses AWS Elasticsearch to search IMDB movies. I put the search.js, which includes my api gateway endpoint in the js folder.
Now a user can use my s3endpointwebsite.com/js/search.js and see my api gateway endpoint and my cognito ids
How do I deal with this?