Aktualisiere Docker-Images auf die neuesten Versionen und passe die Pfade in der esbuild-Konfiguration an

This commit is contained in:
Sebastian Frank 2025-03-27 16:59:52 +00:00
parent 7a6a2cbd22
commit cf1acc1d80
Signed by: apairon
SSH Key Fingerprint: SHA256:lYVOnGlR42QHj7wuqfFgGw8cKbfyZUpzeRDGVBBAHQU
3 changed files with 5 additions and 10 deletions

@ -26,7 +26,7 @@ services:
tibiserver:
profiles:
- tibi
image: gitbase.de/cms/tibi-server
image: gitbase.de/cms/tibi-server:dev
volumes:
- ./:/data
environment:
@ -113,7 +113,7 @@ services:
profiles:
- tibi
- tibi-dev
image: gitbase.de/server/mongo:4.2
image: gitbase.de/server/mongo:8
volumes:
- ./tmp/mongo-data:/data/db
user: ${CODER_UID}:${CODER_GID}

@ -93,7 +93,6 @@ if (process.argv[2] == "start") {
changeOrigin: true,
logLevel: "debug",
pathRewrite: function (path, req) {
console.log(path)
return "/ssr?url=" + encodeURIComponent(path)
},
})
@ -107,7 +106,7 @@ module.exports = {
options: options,
distDir,
watch: {
path: [__dirname + "/" + frontendDir + "/src/**/*"],
path: [__dirname + "/" + frontendDir + "/src"],
},
serve: {
onRequest(args) {

@ -1,14 +1,10 @@
import App from "./App.svelte"
import { hydrate } from "svelte"
let appContainer = document?.getElementById("appContainer")
const hydrate = true //import.meta?.env?.MODE !== "development"
console.log("Features: ", { hydrate })
const app = new App({
target: appContainer,
props: {},
hydrate,
})
const app = hydrate(App, { target: appContainer })
export default app