diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-09 14:14:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-09 14:14:45 +0200 |
| commit | 4f1c48bf32ded0ce1277b6483bdac7ec489f055f (patch) | |
| tree | 1a2c7c09fb87731086ddcdb6570f710ad5cd56b2 /opendc-web/opendc-web-ui/src/index.js | |
| parent | fb84d53278fa59a7c7a95538747563a0aed692a2 (diff) | |
| parent | f79c0872ddfcbe02a7bcc498b4a9d5d202caccd2 (diff) | |
ui: Update OpenDC homepage
This pull request contains various updates to the opendc.org homepage,
in order to reflect the updates from OpenDC 2.0.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/index.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/opendc-web/opendc-web-ui/src/index.js b/opendc-web/opendc-web-ui/src/index.js index bddf0b0e..7f60098d 100644 --- a/opendc-web/opendc-web-ui/src/index.js +++ b/opendc-web/opendc-web-ui/src/index.js @@ -6,13 +6,16 @@ import { Provider } from 'react-redux' import { setupSocketConnection } from './api/socket' import './index.sass' import Routes from './routes' +import config from './config' import configureStore from './store/configure-store' setupSocketConnection(() => { const store = configureStore() + console.log('test', config) + // Initialize Sentry if the user has configured a DSN - const dsn = window.$$env['SENTRY_DSN'] + const dsn = config['SENTRY_DSN'] if (dsn) { Sentry.init({ environment: process.env.NODE_ENV, |
