Skip to content

Commit

Permalink
Merge pull request #5 from GenerateNU/fixing-main.go
Browse files Browse the repository at this point in the history
Fixing port inconsistencies to enable full running
  • Loading branch information
leoRysing authored Jan 15, 2024
2 parents c22b823 + 9e23abb commit 8dc907c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
// @description API for Algo App
// @BasePath /api
func main() {
dsn := "host=localhost user=user password=pwd dbname=algo port=5432 sslmode=disable"
dsn := "host=localhost user=user password=pwd dbname=algo port=5434 sslmode=disable"
db, err := gorm.Open(postgres.Open(dsn), &gorm.Config{})
if err != nil {
panic("Failed to connect to database")
Expand Down

0 comments on commit 8dc907c

Please sign in to comment.