scratch-www/server/routes.json
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

47 lines
983 B
JSON

[
{
"pattern": "^/?$",
"view": "splash",
"title": "Imagine, Program, Share"
},
{
"pattern": "^/about$",
"view": "about",
"title": "About"
},
{
"pattern": "^/components$",
"view": "components",
"title": "Components"
},
{
"pattern": "^/hoc$",
"view": "hoc",
"title": "Hour of Code"
},
{
"pattern": "^/info/credits$",
"view": "credits",
"title": "Credits"
},
{
"pattern": "^/info/cards$",
"view": "cards",
"title": "Cards"
},
{
"pattern": "^/info/communityblocks-interviews$",
"view": "communityblocks-interviews",
"title": "Community Blocks Beta Tester Interviews"
},
{
"pattern": "^/jobs$",
"view": "jobs",
"title": "Jobs"
},
{
"pattern": "^/wedo$",
"view": "wedo2",
"title": "LEGO WeDo 2.0"
}
]