Skip to content

Commit

Permalink
🐛 Fix homepage path (fixed upptime/upptime#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Nov 23, 2020
1 parent 1c932ce commit c4bd2d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<div class="container">
{#if config['status-website'] && config['status-website'].logoUrl}
<div>
<a href={config['status-website'].logoHref || '/'} class="logo">
<a href={config['status-website'].logoHref || config.path} class="logo">
<img alt="" src={config['status-website'].logoUrl} />
<div>{config['status-website'].name}</div>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@

<p>{config.i18n.errorText}</p>

<a href="/" class="button">{config.i18n.errorHome}</a>
<a href={config.path} class="button">{config.i18n.errorHome}</a>
2 changes: 1 addition & 1 deletion src/routes/rate-limit-exceeded.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
const save = () => {
if (typeof window !== "undefined" && "localStorage" in window)
window.localStorage.setItem("personal-access-token", token);
goto("/");
goto(config.path);
};
const remove = () => {
token = "";
Expand Down

0 comments on commit c4bd2d0

Please sign in to comment.