Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (18 sloc) 1.2 KB
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# Home page
GET / controllers.Application.index()
GET /map
POST /latlng controllers.Application.ll
GET /latlng/:postcode controllers.Application.latLng(postcode: String)
GET /en controllers.Application.en
GET /eastingnorthings/:postcode controllers.Application.eastingsNorthings(postcode: String)
GET /near/:lat/:lng controllers.Application.near(lat: String, lng: String)
POST /calc controllers.Application.calc()
# Utilities for debugging server issues
GET /health
GET /threaddump controllers.Server.threaddump()
GET /servermetrics controllers.Server.metrics(classPrefix ?= "", pretty:Boolean ?= true)
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file"/public", file)