Skip to content

Commit

Permalink
🐛 Fix config.path in href
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Nov 23, 2020
1 parent c4bd2d0 commit aa91251
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ActiveIncidents.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</div>
</div>
<div class="f r">
<a href={`incident/${incident.number}`}>
<a href={`${config.path}/incident/${incident.number}`}>
{config.i18n.incidentReport.replace(/\$NUMBER/g, incident.number)}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/History.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
</div>
</div>
<div class="f r">
<a href={`../incident/${incident.number}`}>
<a href={`${config.path}/incident/${incident.number}`}>
{config.i18n.incidentReport.replace(/\$NUMBER/g, incident.number)}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Incidents.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</div>
</div>
<div class="f r">
<a href={`incident/${incident.number}`}>
<a href={`${config.path}/incident/${incident.number}`}>
{config.i18n.incidentReport.replace(/\$NUMBER/g, incident.number)}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/LiveStatus.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<article
class={`${site.status} link`}
style={`background-image: url("${graphsBaseUrl}/${site.slug}.png`}>
<h4><a href={`history/${site.slug}`}>{site.name}</a></h4>
<h4><a href={`${config.path}/history/${site.slug}`}>{site.name}</a></h4>
<div>
{@html config.i18n.overallUptime.replace(/\$UPTIME/g, site.uptime)}
</div>
Expand Down

0 comments on commit aa91251

Please sign in to comment.