diff --git a/docker-compose.yml b/docker-compose.yml
index 3b31ef6..f7d4da7 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -27,7 +27,7 @@ services:
- sqlite:/database/
environment:
- DATABASE_URL=file:/database/db.sqlite
- - FRONTEND_URL=http://0.0.0.0:3000
+ - FRONTEND_URL=http://localhost:3000
depends_on:
- migrate
diff --git a/server/prisma/dev.db b/server/prisma/dev.db
index 49d5c64..4b39e5a 100644
Binary files a/server/prisma/dev.db and b/server/prisma/dev.db differ
diff --git a/server/prisma/dev.db-journal b/server/prisma/dev.db-journal
deleted file mode 100644
index 37420b9..0000000
Binary files a/server/prisma/dev.db-journal and /dev/null differ
diff --git a/webapp/Dockerfile b/webapp/Dockerfile
index b99ccf3..ca7cc46 100644
--- a/webapp/Dockerfile
+++ b/webapp/Dockerfile
@@ -9,7 +9,7 @@ RUN npm ci
# Copy all local files into the image.
COPY . .
-ENV VITE_BACKEND_URL="http://0.0.0.0:8080"
+ENV VITE_SERVER_INTERNAL="http://server:8080"
ENV VITE_BRANDING="Noteshare.space"
RUN npm run build
@@ -20,8 +20,7 @@ RUN npm prune --production
FROM node:16-alpine
WORKDIR /app
-COPY --from=0 /app .
-COPY . .
+COPY --from=BUILD_IMAGE /app .
EXPOSE 3000
CMD ["node", "./build"]
\ No newline at end of file
diff --git a/webapp/src/routes/note/[id].svelte b/webapp/src/routes/note/[id].svelte
index 1b6e94c..b998f22 100644
--- a/webapp/src/routes/note/[id].svelte
+++ b/webapp/src/routes/note/[id].svelte
@@ -1,48 +1,57 @@