Skip to content

Todo app is not working for todo-nodejs-mongo-swa-func #54

Description

@puicchan

Output from azd version
azd version 0.0.1-beta.1699350 (commit 1740868)

Describe the bug

  1. Run azd up -t todo-nodojs-mongo-swa-func
  2. Azure resources are provisioned; api and web deployed.
  3. Clicked end point for the SWA environment web is deployed to. Cannot add any new items to list.

Expected behavior
I can add items to MyList.

Note: spoke to Wallace, this is because the web end point is not added to allowed origins in API CORS. Added the end point and the todo app works.

Environment
Windows

Related to issue #53

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions