change 4000 to 80
This commit is contained in:
@ -55,7 +55,7 @@ func (app *Config) authenticate(w http.ResponseWriter, a AuthPayload) {
|
||||
// call the service
|
||||
req, err := http.NewRequest(
|
||||
"POST",
|
||||
"http://authentication-service:4000/authenticate",
|
||||
"http://authentication-service/authenticate",
|
||||
bytes.NewBuffer(authPayload),
|
||||
)
|
||||
if err != nil {
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
const webPort = "4000"
|
||||
const webPort = "80"
|
||||
|
||||
type Config struct{}
|
||||
|
||||
|
Reference in New Issue
Block a user