Channels
contributing
sdk-kotlin
sdk-react
sdk-javascript
sdk-java
request-features
sdk-php
sdk-python
sdk-golang
sdk-swift
sdk-c-sharp
random
sdk-ruby
ask-questions
give-feedback
announcements
sdk-flutter
Powered by
#announcements
Title
b
brash-stone-46387
01/25/2023, 12:59 AM
Hello, is there a way to request a minified json from the API; without formatting (next lines and spaces)?
f
future-teacher-7046
01/25/2023, 1:06 AM
It should do this automatically if you set the
NODE_ENV=production
environment variable. Along with other performance optimizations
b
brash-stone-46387
01/25/2023, 1:50 AM
Thanks for the response. How'd I do this from a non-node environments? E.g. we're using dotnet core
f
future-teacher-7046
01/25/2023, 2:14 AM
Are you self hosting GrowthBook? This is something you would set on the GrowthBook instance, not your application.
b
brash-stone-46387
01/25/2023, 2:17 AM
Yes, self hosted. Thank you, that answered the question 🙏
4 Views
Post