nhost / cli

Nhost CLI
https://docs.nhost.io/development/cli/overview
MIT License
78 stars 28 forks source link

feat: added local config server so we can enable settings locally #830

Closed dbarrosop closed 9 months ago

dbarrosop commented 9 months ago
curl \
    -H "Content-type: Application/json" \
    -X POST \
    -d '{"query": "query { config(appID: \"00000000-0000-0000-0000-000000000000\", resolve: true) { auth { version } } }"}' \
    https://local.dashboard.nhost.run/v1/configserver/graphql
{"data":{"config":{"auth":{"version":"0.21.2"}}}}

Note: Changing the configuration is supported but nhost up needs to be run manually afterwards to apply changes.