Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rocjs/extensions
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: medical-maid.e9c364.2018-04-30
Choose a base ref
...
head repository: rocjs/extensions
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Feb 16, 2024

  1. Update GUIDE.md

    Remove reference to domain
    andreasrs authored Feb 16, 2024
    Copy the full SHA
    d0933f3 View commit details
  2. Update GUIDE.md

    andreasrs authored Feb 16, 2024
    Copy the full SHA
    02af0ab View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 packages/roc-package-web-app-react/GUIDE.md
4 changes: 2 additions & 2 deletions packages/roc-package-web-app-react/GUIDE.md
Original file line number Diff line number Diff line change
@@ -252,7 +252,7 @@ config/
{
"host": "github.com",
"DANGEROUSLY_EXPOSE_TO_CLIENT": {
"backendHost": "www.getroc.org"
"backendHost": "www.github.com"
}
}
```
@@ -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.