From cb4ced9e02a3a5526fd1b641f4ce66e08922dba6 Mon Sep 17 00:00:00 2001 From: Gareth Latty Date: Sun, 22 May 2016 20:19:11 +0100 Subject: [PATCH] Forgot a trailing slash. --- app/controllers/massivedecks/Application.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/massivedecks/Application.scala b/app/controllers/massivedecks/Application.scala index 2ee6284..9db2564 100644 --- a/app/controllers/massivedecks/Application.scala +++ b/app/controllers/massivedecks/Application.scala @@ -17,10 +17,10 @@ class Application @Inject() (store: LobbyStore) extends Controller { def index() = Action { request => val protocol = request.headers.get("X-Forwarded-Proto") match { - case Some(protocol) => protocol + case Some(proto) => proto case None => if (request.secure) { "https" } else { "http" } } - Ok(views.html.massivedecks.index(protocol + "://" + request.host)) + Ok(views.html.massivedecks.index(protocol + "://" + request.host + "/")) } def createLobby() = Action {