You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In attempting to fix a recent HTTPS issue, I had to make changes all over the place because we aren't consistent at all in our configuration.
The item I had to update was TC_USER_PROFILE_URL. I reconfigured it on Heroku and the bug persisted. I then fixed the same URL in src/common/constants.js and bug persisted. I then fixed the same URL in src/front/src/app/helper.js and the bug persisted. I eventually fixed the same URL in src/front/src/components/common/navigation.controller.js before the issue was resolved.
There's no reason why the same URL is created and configured in 4 or 5 spots in the app.
Fix
The configuration should all come from the environment.
No URLs should be created that are also configured.
All URLs should use https by default.
The text was updated successfully, but these errors were encountered:
Problem
In attempting to fix a recent HTTPS issue, I had to make changes all over the place because we aren't consistent at all in our configuration.
The item I had to update was TC_USER_PROFILE_URL. I reconfigured it on Heroku and the bug persisted. I then fixed the same URL in
src/common/constants.js
and bug persisted. I then fixed the same URL insrc/front/src/app/helper.js
and the bug persisted. I eventually fixed the same URL insrc/front/src/components/common/navigation.controller.js
before the issue was resolved.There's no reason why the same URL is created and configured in 4 or 5 spots in the app.
Fix
The text was updated successfully, but these errors were encountered: