1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-15 17:13:16 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
Brett Sun
1a8691bc53 Map entire dist/ folder as /static in server to allow for dynamic chunking
Otherwise we’d have to change the mapping every time we add or remove a
chunk.
2016-06-03 13:26:43 +02:00
Brett Sun
42d35e7807 Fix ESLint errors on server and dev server 2016-06-03 13:26:39 +02:00
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
Brett Sun
959c5402de Remove gulp and browserify dependencies 2016-06-02 17:14:58 +02:00
vrde
bd2be63341 Fix empty X-CSRFToken bug 2015-06-16 19:28:21 +02:00
Tim Daubenschütz
e2997891df loading icon for piece list 2015-06-16 09:57:14 +02:00
vrde
4ada116585 Add missing semicolon 2015-06-10 15:42:35 +02:00
vrde
b9c8002495 Add ENV variable to handle BASE_URL 2015-06-09 17:53:44 +02:00
vrde
5445698eea [wip] add temporary base url 2015-06-09 16:10:25 +02:00
vrde
38a476f7e8 Enable compression 2015-06-08 17:26:27 +02:00
vrde
798fa1c38a disable compression 2015-06-08 17:23:10 +02:00
vrde
c4fee2880f Enable compression 2015-06-08 17:20:08 +02:00
vrde
9f2019e168 Add tasks to put code in production 2015-06-08 15:42:28 +02:00
vrde
a1bfbb8f86 [wip] add server to serve app 2015-06-08 15:24:58 +02:00