aboutsummaryrefslogtreecommitdiff
path: root/server/conf/routes
blob: 5d2c73e9455724aae957b5d40ebf0c3470532ac6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# Routes
# This file defines all application routes (Higher priority routes first)
# https://www.playframework.com/documentation/latest/ScalaRouting
# ~~~~

# An example controller showing a sample home page
GET     /                           controllers.HomeController.index
GET     /chat/:uid		    controllers.HomeController.chat(uid)
GET     /socket/:uid		    controllers.HomeController.socket(uid)

# Map static resources from the /public folder to the /assets URL path
GET     /assets/*file               controllers.Assets.versioned(path="/public", file: Asset)