Ray Schamp
19a0ed3f4b
Remove spaces from condition
...
This condition exceeded 512 characters. We will have to rethink how to construct this.
2016-04-22 09:54:14 -04:00
Matthew Taylor
bf1a99fd63
use route name now with updated strucutre
...
Thanks @rschamp for this!
2016-04-21 18:16:49 -04:00
Ray Schamp
b8bfe46890
Configure redirect routes in Fastly
2016-04-19 18:42:03 -04:00
Ray Schamp
494085247d
Activate after configuring Fastly
2016-04-19 13:04:45 -04:00
Ray Schamp
f90adfcadb
Be explicit, direct app requests to S3
2016-04-19 10:50:57 -04:00
Ray Schamp
303b5c44a8
Lint bin subdirectories
2016-04-19 10:47:33 -04:00
Ray Schamp
eb5edc293d
Linting
2016-04-18 14:07:27 -04:00
Ray Schamp
43788eb7d8
Split server and routes/config
...
Turn HtmlGeneratorPlugin into a module
Turn server into dev-server and simplify it
2016-04-18 14:07:11 -04:00
Ray Schamp
707af8dbe9
Use async.auto to make dependencies clearer
...
Thanks @thisandagain — now I know why you said async.auto is so awesome.
Also throw the error so we get a stacktrace, and make the bucket name and service ID into constants.
2016-04-18 13:23:23 -04:00
Ray Schamp
32611c9cba
Fix rewrite priority
...
The order of the rewrite conditions needs to be internally consistent so we can control specificity with routes.json
2016-04-16 14:08:53 -04:00
Ray Schamp
c6abc2ae7b
Fix cache_settings request
2016-04-16 14:05:16 -04:00
Ray Schamp
ab0979b958
Add docstrings
2016-04-16 13:46:03 -04:00
Ray Schamp
5846dcacc8
Use constants instead of functions for strings
2016-04-16 13:01:39 -04:00
Ray Schamp
0aa9b7c587
Untangle the requests a bit with help from async
2016-04-16 12:49:48 -04:00
Ray Schamp
87da93f9ea
Move some fastly-specific stuff into a module
2016-04-16 10:17:20 -04:00
Ray Schamp
de5f36b649
Add script for configuring Fastly for S3
...
* Builds the Pass condition based on the static directory and view routes.
* Updates Fastly with new header and conditions based on the view routes.
* Uses a nice module for interacting with fastly :)
Needs some major cleanup but it works. Hopefully Travis will work too.
2016-04-15 19:42:57 -04:00