base_url
The base_url
(alternatively baseUrl
) keyword returns the base URL for the application. The value is assembled from the protocol, hostname and port of the server instance Structr is running on.
It produces http(s)://<host>(:<port>)
depending on the configuration. If application.baseurl.override
ist set, this value will be returned.
Example
${base_url}
produces
https://foo.bar:1234