mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-06 07:23:38 +01:00
Fix custom.js not working (#2023)
This commit is contained in:
parent
04a1c68ba0
commit
ed0527a3da
@ -362,13 +362,7 @@ function Home({ initialSettings }) {
|
|||||||
/>
|
/>
|
||||||
</style>
|
</style>
|
||||||
<link rel="preload" href="/api/config/custom.js" as="fetch" crossOrigin="anonymous" />
|
<link rel="preload" href="/api/config/custom.js" as="fetch" crossOrigin="anonymous" />
|
||||||
<script data-name="custom.js">
|
<script data-name="custom.js" src="/api/config/custom.js" async="{true}" />
|
||||||
<FileContent path="custom.js"
|
|
||||||
loadingValue="/* Loading custom JS... */"
|
|
||||||
errorValue="/* Failed to load custom JS... */"
|
|
||||||
emptyValue="/* No custom JS */"
|
|
||||||
/>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div className="relative container m-auto flex flex-col justify-start z-10 h-full">
|
<div className="relative container m-auto flex flex-col justify-start z-10 h-full">
|
||||||
<QuickLaunch
|
<QuickLaunch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user