docker: switch to node-alpine
This commit is contained in:
1 parent
5d91084fe4
commit
7e97726514
4 files changed
+4
-6
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { PUBLIC_SSR_ENABLED } from '$env/static/public'
|
||||
import { env } from '$env/dynamic/public'
|
||||
import { md, mdInline, photonify } from '$lib/components/markdown/markdown'
|
||||
import { onMount } from 'svelte'
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
From server to client, the rendered html won't change for some reason
|
||||
I have no clue why this fixes it, but it does.
|
||||
*/
|
||||
if (PUBLIC_SSR_ENABLED.toLowerCase() == 'true') {
|
||||
if (env?.PUBLIC_SSR_ENABLED?.toLowerCase() == 'true') {
|
||||
onMount(() => {
|
||||
rendered = `${rendered} `
|
||||
replaceURLs(div, rendered)
|
||||
|
||||
Reference in new issue
Block a user