Chcę pobierać wartość msg
z localhost:8080/msg
a wciąż angular próbuje pobrać z localhost:4200/msg
port 8080 zwraca kto nie lubi disco polo ten nie kocha matki swej
stworzyłem plik proxy.conf.json:
{
"/msg": {
"target": "http://localhost:8080/msg",
"secure": false
}
}
target źle?
i w package.json
podmieimłem:
"start": "ng serve --proxy-config proxy.config.json",
Czy coś pominąłem?