works.iterative.server.http.SPAConfig
See theSPAConfig companion object
final case class SPAConfig(appPath: String = ..., appIndex: String = ..., filePath: Option[String] = ..., resourcePath: String = ...)
Configuration for the single page application (SPA) endpoints.
By default, the application will be served from prefix/app path, static resources from prefix/? path.
Under "app", only index.html will be served.
As this has a catch-all route, it should be the last route in the list.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article