const mixinafPillow::PillowConfigIds
afPillow::PillowConfigIds
IocConfig values as provided by Pillow
. To change their value, override them in your AppModule
. Example:
using afIoc using afIocConfig using afPillow class AppModule { @Contribute { serviceType=ApplicationDefaults# } static Void configureAppDefaults(MappedConfig config) { config[PillowConfigIds.welcomePage] = "start" } }
- defaultContentType
const static Str defaultContentType := "afPillow.defaultContentType"
The default
Content-Type
to serve pages up as, if it can not be determined. Defaults toMimeType("text/plain")
- welcomePage
const static Str welcomePage := "afPillow.welcomePage"
The component name of directory welcome pages. Defaults to "index".