Documentation / @agentick/gateway / ServeStaticOptions
Interface: ServeStaticOptions ​
Defined in: gateway/src/serve-static.ts:17
Properties ​
cacheControl? ​
optionalcacheControl:string
Defined in: gateway/src/serve-static.ts:21
Cache-Control header value (default: "public, max-age=3600")
fallback? ​
optionalfallback:string|false
Defined in: gateway/src/serve-static.ts:19
SPA fallback file (default: "index.html"). Set to false to disable.
prefix? ​
optionalprefix:string
Defined in: gateway/src/serve-static.ts:23
Strip this prefix from the URL path before resolving files