Skip to content

Commit fce2476

Browse files
Merge pull request #4 from memphisdev/single-message
fix http_port
2 parents df946de + 768e07e commit fce2476

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"CONNECTION_TOKEN": "memphis",
1414
"ROOT_USER": "root",
1515
"MEMPHIS_HOST":"localhost",
16-
"HTTP_PORT": ":3000"
16+
"HTTP_PORT": "3000"
1717
}
1818
}
1919
]

conf/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"HTTP_PORT": ":3000",
2+
"HTTP_PORT": "3000",
33
"MEMPHIS_HOST": "localhost",
44
"ROOT_USER": "root",
55
"CONNECTION_TOKEN": "memphis",

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ func main() {
2424
}
2525

2626
router.SetupRoutes(app, conn)
27-
app.Listen(configuration.HTTP_PORT)
27+
app.Listen(":" + configuration.HTTP_PORT)
2828
}

0 commit comments

Comments
 (0)