Remove debug code
This commit is contained in:
parent
6a5573aad7
commit
3ae191d533
11
app.moon
11
app.moon
|
@ -18,14 +18,3 @@ class App extends lapis.Application
|
||||||
[index: "/"]: =>
|
[index: "/"]: =>
|
||||||
@name = @session.name
|
@name = @session.name
|
||||||
render: true
|
render: true
|
||||||
|
|
||||||
"/debug": =>
|
|
||||||
@html ->
|
|
||||||
config = require("lapis.config").get!
|
|
||||||
|
|
||||||
p config.port
|
|
||||||
p tostring os.getenv "POSTGRESQL_PORT_5432_TCP_PORT"
|
|
||||||
p tostring os.getenv "POSTGRESQL_PORT_5432_TCP_ADDR"
|
|
||||||
p tostring os.getenv "DB_USER"
|
|
||||||
p tostring os.getenv "DB_PASS"
|
|
||||||
p tostring os.getenv "DB_NAME"
|
|
||||||
|
|
Loading…
Reference in New Issue