Add API Keys to secure endpoints and move CORS related URLs to environment variables.
Add API Keys to secure endpoints and move CORS related URLs to environment variables.