1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-21 02:01:56 +01: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
models Remove deprecated global notification types 2016-04-13 10:39:19 +02:00
sources
stores Merge pull request #71 from ascribe/AD-1387-improve-redundancy-of-notifications 2016-05-27 11:33:47 +02:00
third_party
utils Log error json payloads in Sentry 2016-04-13 10:19:41 +02:00
alt.js
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