aboutsummaryrefslogtreecommitdiff
path: root/vfd-main/conf/routes
diff options
context:
space:
mode:
Diffstat (limited to 'vfd-main/conf/routes')
-rw-r--r--vfd-main/conf/routes11
1 files changed, 11 insertions, 0 deletions
diff --git a/vfd-main/conf/routes b/vfd-main/conf/routes
new file mode 100644
index 0000000..3d38889
--- /dev/null
+++ b/vfd-main/conf/routes
@@ -0,0 +1,11 @@
+# Routes
+# This file defines all application routes (Higher priority routes first)
+# ~~~~
+
+# Home page
+GET / controllers.Application.index
+GET /uav/:remoteSystemId controllers.Application.uav(remoteSystemId: Int)
+GET /mavlink controllers.Application.mavlink
+
+# Map static resources from the /public folder to the /assets URL path
+GET /assets/*file controllers.Assets.at(path="/public", file)