From b1c3a05eac81b7d3ece879e12c83d359fd6338eb Mon Sep 17 00:00:00 2001 From: Tian Khamez Date: Mon, 2 Nov 2020 21:58:45 +0100 Subject: [PATCH] Revert EVE_ROUTE_PORT env var back to PORT: it does not work with Heroku. --- README.md | 2 +- resources/application.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c107c2..39dd44d 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Example connection strings for EVE_ROUTE_DB: - jdbc:h2:./h2file The following variables are optional, see resources/application.conf for their default values: -- EVE_ROUTE_PORT +- PORT - EVE_ROUTE_OAUTH_AUTHORIZE - EVE_ROUTE_OAUTH_TOKEN - EVE_ROUTE_OAUTH_KEY_SET diff --git a/resources/application.conf b/resources/application.conf index a75b2f1..cc6c4ee 100644 --- a/resources/application.conf +++ b/resources/application.conf @@ -1,7 +1,7 @@ ktor { deployment { port = 8080 - port = ${?EVE_ROUTE_PORT} + port = ${?PORT} watch = [ classes ] } application {