Browse Source

fix prod error

pull/1619/head
Bernd Storath 3 months ago
parent
commit
b753983c55
No known key found for this signature in database GPG Key ID: D6C85685A555540F
  1. 2
      Dockerfile
  2. 4
      src/app/app.vue

2
Dockerfile

@ -45,7 +45,7 @@ RUN update-alternatives --install /usr/sbin/ip6tables ip6tables /usr/sbin/ip6tab
RUN npm install libsql
# Set Environment
ENV DEBUG=Server,WireGuard,LowDB
ENV DEBUG=Server,WireGuard,Database,CMD
ENV PORT=51821
ENV HOST=0.0.0.0

4
src/app/app.vue

@ -5,7 +5,7 @@
<ToastViewport
class="fixed bottom-0 right-0 z-[2147483647] m-0 flex w-[390px] max-w-[100vw] list-none flex-col gap-[10px] p-[var(--viewport-padding)] outline-none [--viewport-padding:_25px]"
>
<BaseToast ref="toast" />
<BaseToast ref="toastRef" />
</ToastViewport>
</NuxtLayout>
</ToastProvider>
@ -13,7 +13,7 @@
<script setup lang="ts">
const toast = useToast();
const toastRef = useTemplateRef('toast');
const toastRef = useTemplateRef('toastRef');
toast.setToast(toastRef);
useHead({

Loading…
Cancel
Save