Fix custom.js not working

This commit is contained in:
shamoon 2023-09-18 21:34:18 -07:00
parent 04a1c68ba0
commit 78d9df1fa8

View File

@ -362,13 +362,7 @@ function Home({ initialSettings }) {
/>
</style>
<link rel="preload" href="/api/config/custom.js" as="fetch" crossOrigin="anonymous" />
<script data-name="custom.js">
<FileContent path="custom.js"
loadingValue="/* Loading custom JS... */"
errorValue="/* Failed to load custom JS... */"
emptyValue="/* No custom JS */"
/>
</script>
<script data-name="custom.js" src="/api/config/custom.js" async="{true}" />
<div className="relative container m-auto flex flex-col justify-start z-10 h-full">
<QuickLaunch