views: fix base url to omit scheme for when we connect through a https gateway
[pharext/pharext.org] / app / views / alert.phtml
index 8a5a45acf5e888537ffdb717b1faadff63c19e91..c8c527f6eb8f5687aa14d7dbd5da379722bfd243 100644 (file)
@@ -3,10 +3,10 @@
        <strong><?= nl2br($this->e($exception->getMessage())) ?></strong>
        (<?= $exception->getCode() ?>)<br>
        <?php if ($exception instanceof \app\Github\Exception\TokenException) : ?>
-               You might want to try to <a href="<?= $baseUrl->mod("./github/signin") ?>">renew your token</a>!
+               You might want to try to <a href="<?= $baseUrl->mod(":./github/signin") ?>">renew your token</a>!
        <?php endif; ?>
        <?php if ($exception instanceof \app\Github\Exception\StateException) : ?>
-               You might want to try to <a href="<?= $baseUrl->mod("./github/signin") ?>">try again</a>!
+               You might want to try to <a href="<?= $baseUrl->mod(":./github/signin") ?>">try again</a>!
        <?php endif; ?>
 </div>