about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.go b/src/db.go
index 75cc93a..98a9305 100644
--- a/src/db.go
+++ b/src/db.go
@@ -10,7 +10,7 @@ import (
 
 // setup the Database
 func setupDatabase() (*sql.DB, error) {
-	connStr := "host=localhost port=5432 user=postgres dbname=postgres sslmode=disable"
+	connStr := "host=postgresql port=5432 user=postgres dbname=postgres sslmode=disable"
 
 	// open a connection to the database
 	db, err := sql.Open("postgres", connStr)