Skip to content

Commit

Permalink
Update GUIDE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasrs authored Feb 16, 2024
1 parent d0933f3 commit 02af0ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/roc-package-web-app-react/GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ In your universal modules (for example React components) you can read runtime co
```javascript
import { appConfig as config } from 'roc-package-web-app-react/app/shared/universal-config';

console.log(config.backendHost); // www.getroc.org
console.log(config.backendHost);
```

`config` will contain only the configuration that was grouped under `DANGEROUSLY_EXPOSE_TO_CLIENT` in your definition.
Expand Down

0 comments on commit 02af0ab

Please sign in to comment.