Table of Contents

TSparkleStaticServer.RootDir Property

Gets or sets the root directory in the file system from which static files are served.

Remarks

The path of each incoming request, relative to BaseUrl, is mapped to a file under this directory. Requests that do not map to an existing file are answered with a 404 status code.

Syntax

Unit: Sparkle.Comp.StaticServer

property TSparkleStaticServer.RootDir: string

See also