1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 00:28:00 +02:00
onion/js
Brett Sun 7eaa3b1a2b Inject environment variables into app
Injects environment variables into the app through webpack, rather than
script snippets in index.html.

As part of this:

* Updated server.js to use node’s path package to resolve file paths
* Ensure that all url environment variables passed to the app don’t
have a trailing slash, allowing for cleaner template urls

**Note**: There are still a number of constants that should be taken
out of the app and put into environment variables.
2016-06-02 17:14:58 +02:00
..
actions Use empty array as initial state of piece and edition list notifications 2016-03-10 13:08:05 +01:00
components Inject environment variables into app 2016-06-02 17:14:58 +02:00
constants Inject environment variables into app 2016-06-02 17:14:58 +02:00
fetchers Merge pull request #71 from ascribe/AD-1387-improve-redundancy-of-notifications 2016-05-27 11:33:47 +02:00
mixins Merge with master 2015-12-08 20:55:13 +01:00
models Remove deprecated global notification types 2016-04-13 10:39:19 +02:00
sources Merge with master 2016-02-05 10:38:59 +01:00
stores Merge pull request #71 from ascribe/AD-1387-improve-redundancy-of-notifications 2016-05-27 11:33:47 +02:00
third_party Merge with master 2016-02-05 10:38:59 +01:00
utils Log error json payloads in Sentry 2016-04-13 10:19:41 +02:00
alt.js Revert "Remove altUser since the UserStore is now always being passed as a prop" 2016-02-08 17:49:11 +01:00
app.js Add webpack config 2016-06-02 17:14:58 +02:00
history.js Inject environment variables into app 2016-06-02 17:14:58 +02:00
routes.js Remove prize whitelabels 2016-05-27 12:04:36 +02:00