mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix paths to static resources
This commit is contained in:
parent
7d821d1c42
commit
0ed08df1a7
3 changed files with 4 additions and 8 deletions
|
|
@ -223,7 +223,7 @@ export function Article(props: ArticleProps): JSX.Element {
|
|||
<>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href={`/public/static/highlightjs/${highlightTheme}.min.css`}
|
||||
href={`/static/highlightjs/${highlightTheme}.min.css`}
|
||||
/>
|
||||
<Box
|
||||
ref={articleContentRef}
|
||||
|
|
|
|||
|
|
@ -396,11 +396,11 @@ export default function Home(): JSX.Element {
|
|||
description: article?.description ?? '',
|
||||
}}
|
||||
>
|
||||
<Script async src="/public/static/mathjax/mathJaxConfiguration.js" />
|
||||
<Script async src="/static/mathjax/mathJaxConfiguration.js" />
|
||||
<Script
|
||||
async
|
||||
id="MathJax-script"
|
||||
src="/public/static/mathjax/tex-mml-chtml.js"
|
||||
src="/static/mathjax/tex-mml-chtml.js"
|
||||
/>
|
||||
<Toaster />
|
||||
|
||||
|
|
|
|||
|
|
@ -76,11 +76,7 @@ function AppArticleEmbedContent(
|
|||
return (
|
||||
<Box>
|
||||
<Script async src="/static/scripts/mathJaxConfiguration.js" />
|
||||
<Script
|
||||
async
|
||||
id="MathJax-script"
|
||||
src="/public/static/tex-mml-chtml.js"
|
||||
/>
|
||||
<Script async id="MathJax-script" src="/static/tex-mml-chtml.js" />
|
||||
<VStack
|
||||
alignment="center"
|
||||
distribution="center"
|
||||
|
|
|
|||
Loading…
Reference in a new issue