ba9b498488
* fix: replace http-serve with serve package Replaces the http-serve package to properly handle the single page routing * feat: add cache invalidation * fix: add serve command in bin * fix: remove serve package dependency * chore: applied PR review suggestions Co-authored-by: Vojtech Simetka <vojtech@simetka.cz> (+1 squashed commit) Squashed commits: [d73baf4] Update serve.js Co-authored-by: Vojtech Simetka <vojtech@simetka.cz> Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>
13 lines
217 B
JSON
13 lines
217 B
JSON
{
|
|
"trailingSlash": false,
|
|
"headers": [
|
|
{
|
|
"source" : "*",
|
|
"headers" : [{
|
|
"key" : "Cache-Control",
|
|
"value" : "max-age=3600"
|
|
}]
|
|
}
|
|
]
|
|
}
|