fix: replace http-serve with serve-handler (#122)
* 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>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"trailingSlash": false,
|
||||
"headers": [
|
||||
{
|
||||
"source" : "*",
|
||||
"headers" : [{
|
||||
"key" : "Cache-Control",
|
||||
"value" : "max-age=3600"
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user