HomePhabricator

Fix logo link in non-prod environments

Description

Fix logo link in non-prod environments

Summary:
Using site.url will always link to the production environment,
which is both wrong and confusing when deployed in beta.
Interestingly, deploying with make serve appears to override
to localhost. The issue is only apparent in beta or when deployed
locally in a container.

Test Plan:
make run
Navigate to localhost:8080 and click the logo in the upper left. It should take you to localhost, instead of prod as it does pre-patch.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D7412

Details

Provenance
jasonbcoxAuthored on Sep 9 2020, 21:40
jasonbcoxPushed on Sep 10 2020, 16:29
Reviewer
Restricted Project
Differential Revision
D7412: Fix logo link in non-prod environments
Parents
rABCWEBb4924382712d: Migrate all page content to flexbox
Branches
Unknown
Tags
Unknown