Hwaro::Models::ServeConfig
Inherits Reference / Object
Serve (development server) configuration
Currently used to configure custom response headers that are injected
on every request while running hwaro serve. This makes it easy to
reproduce production reverse-proxy / CDN header behaviour locally.
Constructors
Instance methods
When true, hwaro serve will behave as if --fast was passed
(skips heavy OG image generation and image processing by default).
CLI flags can still override this.
When true, hwaro serve will behave as if --fast was passed
(skips heavy OG image generation and image processing by default).
CLI flags can still override this.
Custom HTTP response headers applied to all responses during
hwaro serve (including 404s, redirects, and static assets).
Custom HTTP response headers applied to all responses during
hwaro serve (including 404s, redirects, and static assets).