Caching and user data endpoint
This commit is contained in:
@@ -8,6 +8,7 @@ play.filters.csrf.header.bypassHeaders {
|
||||
}
|
||||
play.filters.cors {
|
||||
allowedOrigins = ["http://localhost:4321"]
|
||||
exposedHeaders = ["ETag"]
|
||||
}
|
||||
|
||||
play.modules.enabled += "mqttClient.Module"
|
||||
|
||||
@@ -9,6 +9,8 @@ GET / controllers.HomeController.index()
|
||||
POST /login controllers.authentication.SessionsController.login()
|
||||
DELETE /logout controllers.authentication.SessionsController.logout()
|
||||
|
||||
GET /user_data controllers.HomeController.userData()
|
||||
|
||||
# Map static resources from the /public folder to the /assets URL path
|
||||
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user