mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
24 lines
733 B
JSON
24 lines
733 B
JSON
[
|
|
{
|
|
"pattern": "/",
|
|
"view": "splash",
|
|
"static": false
|
|
},
|
|
{
|
|
"pattern": "/about",
|
|
"view": "about",
|
|
"title": "About",
|
|
"static": false
|
|
},
|
|
{
|
|
"pattern": "/components",
|
|
"view": "components",
|
|
"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. ..."
|
|
}
|
|
]
|