Caching and user data endpoint

This commit is contained in:
2026-09-16 23:56:40 +03:00
parent c45889838b
commit 621fcf90fa
5 changed files with 70 additions and 10 deletions
+1
View File
@@ -8,6 +8,7 @@ play.filters.csrf.header.bypassHeaders {
}
play.filters.cors {
allowedOrigins = ["http://localhost:4321"]
exposedHeaders = ["ETag"]
}
play.modules.enabled += "mqttClient.Module"
+2
View File
@@ -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)