vibe.d beta banner
get vibe.d
0.7.30

Function HTTPServerRequest.rootDir

The relative path to the root folder.

Using this function instead of absolute URLs for embedded links can be useful to avoid dead link when the site is piped through a reverse-proxy.

The returned string always ends with a slash.

Prototype

string rootDir() @property const;
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License