only have debug page show env vars

This commit is contained in:
Sam Dodrill 2015-01-09 18:57:41 -08:00
parent cf50261382
commit 7d2509e469
1 changed files with 5 additions and 5 deletions

View File

@ -24,8 +24,8 @@ class App extends lapis.Application
config = require("lapis.config").get!
p config.port
p ""..config.postgres.port .. os.getenv "POSTGRESQL_PORT_5432_TCP_PORT"
p ""..config.postgres.host .. os.getenv "POSTGRESQL_PORT_5432_TCP_ADDR"
p ""..config.postgres.user .. os.getenv "DB_USER"
p ""..config.postgres.password .. os.getenv "DB_PASS"
p ""..config.postgres.database .. os.getenv "DB_NAME"
p os.getenv "POSTGRESQL_PORT_5432_TCP_PORT"
p os.getenv "POSTGRESQL_PORT_5432_TCP_ADDR"
p os.getenv "DB_USER"
p os.getenv "DB_PASS"
p os.getenv "DB_NAME"