diff --git a/package.json b/package.json index 7e7f40b7d..cebcb1ae1 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "vite dev", - "build": "vite build", + "build": "NODE_OPTIONS='--max-old-space-size=4096' vite build", "preview": "vite preview" }, "devDependencies": { diff --git a/src/components/ChannelItem.svelte b/src/components/ChannelItem.svelte index 590935ba7..6af31d615 100644 --- a/src/components/ChannelItem.svelte +++ b/src/components/ChannelItem.svelte @@ -16,7 +16,7 @@ const { open } = getContext('simple-modal') const onOpened = () => { currLocation = window.location.href - window.history.pushState({}, `${channel.name} • iptv-org`, `/channel?id=${channel.id}`) + window.history.pushState({}, `${channel.name} • iptv-org`, `/channels/${channel.id}`) } const onClosed = () => { window.history.pushState({}, `iptv-org`, currLocation || '/') @@ -91,7 +91,7 @@
-
- {field.name}
-
- |
-
-
- {#if field.type === 'image'}
- |