Migrating Azure Function to Azure Static Web Apps – Cosmos DB Update Issue
I’m working to migrate a serverless resume website from Azure Blob Storage to Azure Static Web Apps. The website uses an Azure Function (HTTP trigger) to increment a visitor count in Azure Cosmos DB. While this functionality worked before, the count no longer updates after deployment to Static Web Apps.