diff --git a/.env.example b/.env.example index fb0d17e..daad9cc 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,4 @@ DATABASE_URL= -CONTRACT=devhub.near \ No newline at end of file +CONTRACT=devhub.near +ROCKET_DATABASES={devhub_cache={url="postgres://username:password@localhost/devhub_cache"}} \ No newline at end of file diff --git a/Rocket.toml b/Rocket.toml index 734b6b2..128f275 100644 --- a/Rocket.toml +++ b/Rocket.toml @@ -1,9 +1,3 @@ [default] -address = "localhost" +address = "127.0.0.1" port = 8000 - -[default.databases.devhub_cache] -url = { env = "DATABASE_URL" } - -# [global.databases.devhub_cache] -# url = "${DATABASE_URL}"