chore(file-server): print api server url port starter
This commit is contained in:
parent
10f950190f
commit
1adbabe654
|
|
@ -42,7 +42,7 @@ func main() {
|
||||||
http.Handle("/", fileServer)
|
http.Handle("/", fileServer)
|
||||||
|
|
||||||
port := os.Getenv("SERVER_PORT")
|
port := os.Getenv("SERVER_PORT")
|
||||||
fmt.Printf("Server started at http://localhost:%s\n", port)
|
fmt.Printf("Server started at http://localhost%s\n", port)
|
||||||
err = http.ListenAndServe(port, nil)
|
err = http.ListenAndServe(port, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("Error starting server: %s\n", err)
|
fmt.Printf("Error starting server: %s\n", err)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user