In the package.json for "ui" you could add a proxy and avoid the CORS issue without the CORS package. "proxy": localhost:8080,
Just remember to delete it before you run "build".
Haha Matt I was thinking the same thing. I think it needed to be said and I think Vlad's reasoning is solid. Compromises are always necessary in a shirt piece, but saying that it's still good to know alternative patterns.
In the package.json for "ui" you could add a proxy and avoid the CORS issue without the CORS package. "proxy": localhost:8080,
Just remember to delete it before you run "build".
Good work though. Not trying to be one of "those" people🤐
Yeah cool solution! Yes, I also discovered proxy solution but didn't want to make it more complicated to readers. Thank you!
I hear that. You taught me a lot about Docker.
Haha Matt I was thinking the same thing. I think it needed to be said and I think Vlad's reasoning is solid. Compromises are always necessary in a shirt piece, but saying that it's still good to know alternative patterns.
Also true. Tiny American flags for some and ham sandwiches for others. We're transitioning to Docker at work so it was good info.