Description
Background
There are places in the code where the url scheme is hardcoded to https
. As a result, when a developer has all of the micro services up locally, the webapp micro service cannot call the search cache service because the scheme is hardcoded.
Definition of Done
- Find all places of hardcoded with
https
and have it use the appropriate scheme depending on where it is deployed (locally or google cloud) - The microservices work together not only when deployed but locally.
Examples (not exhaustive)
Example 1:
Lines 165 to 166 in cee243f
Example 2:
Lines 25 to 26 in 9c7b693
Example 3:
Line 234 in 9c7b693
Example 4:
Line 329 in 9c7b693
Example 5:
Line 359 in 9c7b693
Example 6:
Line 51 in 9c7b693
Example 7:
Line 383 in 9c7b693
Example 8:
wpt.fyi/webapp/admin_handler.go
Line 57 in 9c7b693
Example 9:
Line 259 in 9c7b693