scratch-www/server/routes.json

30 lines
820 B
JSON
Raw Normal View History

[
{
"pattern": "/",
"view": "splash",
"static": false
},
{
"pattern": "/about",
"view": "about",
"title": "About",
"static": false
2015-09-08 10:54:15 -04:00
},
{
"pattern": "/components",
"view": "components",
"static": false
},
{
"pattern": "/hoc",
"view": "hoc",
"static": false
},
{
"static": true,
"resolve": "_path.resolve(__dirname, '../build')",
"attributes": { "lastModified": true, "maxAge": "1y" },
"_todo": " TODO: Define a specification for how each entry is used/expected to look like, given the nginx conf generator's needs and stand-alone run-time needs. An outline of this so far: static requires resolve/attributes but could use pattern too. ..."
}
]