diff options
author | 2019-07-18 15:53:09 +0200 | |
---|---|---|
committer | 2019-07-18 15:53:09 +0200 | |
commit | 2cc2042043c0dc4c3d60ecb35a9a08b57653c908 (patch) | |
tree | 70fa269ba33f604b98ad2dafa2b2ae928b386f0e /src/features/todos | |
parent | basic integration of todos as static sidebar (diff) | |
download | ferdium-app-2cc2042043c0dc4c3d60ecb35a9a08b57653c908.tar.gz ferdium-app-2cc2042043c0dc4c3d60ecb35a9a08b57653c908.tar.zst ferdium-app-2cc2042043c0dc4c3d60ecb35a9a08b57653c908.zip |
Add production and dev urls for todos frontend
Diffstat (limited to 'src/features/todos')
-rw-r--r-- | src/features/todos/components/TodosWebview.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/todos/components/TodosWebview.js b/src/features/todos/components/TodosWebview.js index 54208d7ad..7e97c7f71 100644 --- a/src/features/todos/components/TodosWebview.js +++ b/src/features/todos/components/TodosWebview.js | |||
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types'; | |||
3 | import { observer } from 'mobx-react'; | 3 | import { observer } from 'mobx-react'; |
4 | import injectSheet from 'react-jss'; | 4 | import injectSheet from 'react-jss'; |
5 | import Webview from 'react-electron-web-view'; | 5 | import Webview from 'react-electron-web-view'; |
6 | import * as environment from '../../../environment'; | ||
6 | 7 | ||
7 | const styles = theme => ({ | 8 | const styles = theme => ({ |
8 | root: { | 9 | root: { |
@@ -31,7 +32,7 @@ class TodosWebview extends Component { | |||
31 | <div className={classes.root}> | 32 | <div className={classes.root}> |
32 | <Webview | 33 | <Webview |
33 | className={classes.webview} | 34 | className={classes.webview} |
34 | src={`http://localhost:4000?authToken=${authToken}`} | 35 | src={`${environment.TODOS_FRONTEND}?authToken=${authToken}`} |
35 | /> | 36 | /> |
36 | </div> | 37 | </div> |
37 | ); | 38 | ); |