Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Banana Cake Pop IDE in Production / Deployed Azure static web app #2500

Open
1 task done
jrmurdoch opened this issue Dec 22, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working triage issues to be triaged

Comments

@jrmurdoch
Copy link

What happened?

Banana Cake Pop IDE not showing on a azure static web app.

I've set the following in "staticwebapp.database.config.json":

"host": { "mode": "development",

Get 404 error on the "https:///data-api/graphql" endpoint.

Version

1.2.10

What database are you using?

Azure SQL

What hosting model are you using?

Static Web Apps (SWA)

Which API approach are you accessing DAB through?

GraphQL

Relevant log output


Code of Conduct

  • I agree to follow this project's Code of Conduct
@jrmurdoch jrmurdoch added bug Something isn't working triage issues to be triaged labels Dec 22, 2024
@JerryNixon
Copy link
Contributor

This is by design. Banana Cake Pop and Swagger both only appear when host mode is set to development and since you are hosting through Static Web Apps, it automatically sets host mode to Production no matter what you put in the config.

Having said this, help me identify the best place in the docs to make this point clear to help the next developer understand this is true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage issues to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants