Azure / static-web-apps

Azure Static Web Apps. For bugs and feature requests, please create an issue in this repo. For community discussions, latest updates, kindly refer to the Discussions Tab. To know what's new in Static Web Apps, visit https://aka.ms/swa/ThisMonth
https://aka.ms/swa
MIT License
325 stars 56 forks source link

Integrated Azure Functions isn't deployed even though the Github Pipeline showing no error #1553

Open utkarshtrivedimdz opened 3 days ago

utkarshtrivedimdz commented 3 days ago

Describe the bug Azure Static Web App unable to access apis on deployment while everything is working locally. Shows 404 error while api calls on deployment

Expected behavior API should be working as expected in local development

Screenshots image Working Locally but doesn't work when it is deployed to Azure Static Web App image

Github Workflow:

image

Additional context Add any other context about the problem here.

utkarshtrivedimdz commented 3 days ago

i have moved every package from dev dependencies to main. Even then it doesn't resolve the issue

staticwebapp.config.json host.json package.json