Skip to content

Commit

Permalink
🐛 Fix paths to theme (fixed upptime/upptime#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Jan 24, 2021
1 parent 5f3ebbd commit cc89673
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/routes/_layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
{/if}
<link
rel="stylesheet"
href={`/themes/${(config["status-website"] || {}).theme || "light"}.css`}
href={`${config.path}/themes/${(config["status-website"] || {}).theme || "light"}.css`}
/>
<link rel="stylesheet" href={`${config.path}/global.css`} />
<link
rel="icon"
type="image/svg"
Expand Down
1 change: 0 additions & 1 deletion src/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="theme-color" content="#333333" />
%sapper.base%
<link rel="stylesheet" href="global.css" />
<link rel="manifest" href="manifest.json" crossorigin="use-credentials" />
%sapper.scripts% %sapper.styles% %sapper.head%
</head>
Expand Down

0 comments on commit cc89673

Please sign in to comment.