Skip to content

Commit

Permalink
fix cargo run
Browse files Browse the repository at this point in the history
  • Loading branch information
Tguntenaar committed Oct 23, 2024
1 parent 8fd0056 commit c441295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

DATABASE_URL=
CONTRACT=devhub.near
CONTRACT=devhub.near
ROCKET_DATABASES={devhub_cache={url="postgres://username:password@localhost/devhub_cache"}}
8 changes: 1 addition & 7 deletions Rocket.toml
Original file line number Diff line number Diff line change
@@ -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}"

0 comments on commit c441295

Please sign in to comment.