Optional
edgeUse this value to override the default cache-control value used by serverStatic functions (whis is by default FAR_FUTURE_TTL)
Optional
permanentWhen true, assets are served from a bucket/prefix that remains available across all builds on a given environment.
Optional
rewriteDefines the rewrite source in serveStatic as this cannot be inferred from the criteria as in case when path criteria is string array (InOperatorValues), we need to decide which source to use for multiple paths.
'/:path*'
Optional
statusSets the status code for the response.
Generated using TypeDoc
Options for the
serveStatic
method.