Repository navigation
v0.5.4
The Datastar build by an exported name, and proxies that aren't on loopback.
template:Datastar()returns the vendored Datastar build andDatastarVersionnames it (1.0.4+starbase.c6a6589), so an app serves it withedge.Static.Addinstead of reading a path insidetemplate.FS.edge:BehindProxies(proxies, h)believes the proxy headers from peers in a list of prefixes too, for a proxy on another host or a container bridge, and walksX-Forwarded-Forpast every address in them;ParseProxiesreads the list andTrustedProxiesnames it. The template's-trusted-proxies(APP_TRUSTED_PROXIES) is empty by default. Every address in the list can name any client: list only your own proxies.