Skip to content

Commit f57ba63

Browse files
committed
cleanup existing routes and add frontend route handler
1 parent 23e514e commit f57ba63

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

conf/routes

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
# This file defines all application routes (Higher priority routes first)
33
# ~~~~
44

5-
# An example controller showing a sample home page
6-
GET / controllers.HomeController.index
7-
# An example controller showing how to use dependency injection
8-
GET /count controllers.CountController.count
9-
# An example controller showing how to write asynchronous code
10-
GET /message controllers.AsyncController.message
5+
# Load Angular index page
6+
GET / controllers.Assets.at(path="/public/ui", file="index.html")
117

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

0 commit comments

Comments
 (0)