fix: remove protocol from discount service adress
This commit is contained in:
parent
7b0de77608
commit
6c51c0eafd
@ -37,7 +37,7 @@ services:
|
||||
JWT_PUBLIC_KEY: $JWT_PUBLIC_KEY
|
||||
KAFKA_BROKERS: "10.6.0.11:9092"
|
||||
KAFKA_TOPIC_TARIFF: "tariffs"
|
||||
DISCOUNT_ADDRESS: "http://10.6.0.11:9001"
|
||||
DISCOUNT_ADDRESS: "10.6.0.11:9001"
|
||||
ports:
|
||||
- 59664:3000
|
||||
networks:
|
||||
|
@ -64,7 +64,6 @@ func (j *JWT) Validate(tokenString string) (string, error) {
|
||||
|
||||
return key, nil
|
||||
}
|
||||
fmt.Println("SKER-1", tokenString, j.audience,j.issuer)
|
||||
|
||||
token, err := jwt.Parse(
|
||||
tokenString,
|
||||
|
Loading…
Reference in New Issue
Block a user