diff --git a/app/controllers/massivedecks/Application.scala b/app/controllers/massivedecks/Application.scala
index 24d0864..d908bcb 100644
--- a/app/controllers/massivedecks/Application.scala
+++ b/app/controllers/massivedecks/Application.scala
@@ -15,8 +15,8 @@ import play.api.mvc._
class Application @Inject() (store: LobbyStore) extends Controller {
- def index() = Action { implicit request =>
- Ok(views.html.massivedecks.index(routes.Application.index().absoluteURL()))
+ def index() = Action { request =>
+ Ok(views.html.massivedecks.index(if (request.secure) { "https" } else { "http" } + "://" + request.host))
}
def createLobby() = Action {
diff --git a/app/views/massivedecks/index.scala.html b/app/views/massivedecks/index.scala.html
index ddf47ac..083b01c 100644
--- a/app/views/massivedecks/index.scala.html
+++ b/app/views/massivedecks/index.scala.html
@@ -13,7 +13,8 @@
-
+
+