1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-29 00:58:03 +02:00
onion/js/constants
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
..
acl_information_text.js transfer added 2015-11-19 19:47:33 +01:00
api_urls.js Inject environment variables into app 2016-06-02 17:14:58 +02:00
application_constants.js Add webpack config 2016-06-02 17:14:58 +02:00
error_constants.js Small things that could only be fixed after merging 2016-02-08 11:03:41 +01:00
languages.js Change instances of "Share" to be "Email" 2015-11-10 11:53:05 +01:00
mime_types.js Use mime types for input's accept property as safari doesn't play nicely with just the extensions 2015-12-10 17:54:33 +01:00
uploader_constants.js Enable Amazon S3 Accelerate 2016-04-20 15:15:59 +02:00