SPAConfig
class SPAConfig(var defaultPage: String = "index.html", var applicationRoute: String = "/", var filesPath: String = "", var useResources: Boolean = false, ignoredFiles: MutableList<(String) -> Boolean> = mutableListOf())
Configuration for the Routing.singlePageApplication plugin.
Constructors
Properties
Link copied to clipboard
The URL path under which the content should be served
Link copied to clipboard
The default name of a file or resource to serve when path inside applicationRoute is requested
Link copied to clipboard
The path under which the static content is located. Corresponds to the folder path if the useResources is false, a resource path otherwise
Link copied to clipboard
Specifies if static content is a resource package with true
or folder with false