From 2c0e180d0fef8f85118ee44594c451b881c4f753 Mon Sep 17 00:00:00 2001 From: ertopogo Date: Sat, 24 Jan 2026 21:21:47 +0100 Subject: corrections fullfilments.. --- .env | 4 ++-- .gitignore | 3 +++ backend/scripts/patch-medusa.js | 14 ++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.env b/.env index e9c53e6..db0ede7 100644 --- a/.env +++ b/.env @@ -3,7 +3,7 @@ # Remplacez , , par vos vraies infos # Si Postgres est sur la machine hôte et pas dans Docker, utilisez l'IP locale ou host.docker.internal # -------------------------------------------------------- -DATABASE_URL=postgres://postgres:password@host.docker.internal:5432/medusa_db +DATABASE_URL=postgres://postgres:password@192.168.99.35:5432/medusa_db # -------------------------------------------------------- # CLES DE SECURITE @@ -34,4 +34,4 @@ STRIPE_API_KEY= STRIPE_WEBHOOK_SECRET= ssh toshiro@chillka "ls -la /var/data/git/repositories/lucien-sens-bon.git" -ssh toshiro@chillka "git --git-dir=/var/data/git/repositories/lucien-sens-bon.git rev-parse --is-bare-repository" \ No newline at end of file +ssh toshiro@chillka "git --git-dir=/var/data/git/repositories/lucien-sens-bon.git rev-parse --is-bare-repository" diff --git a/.gitignore b/.gitignore index fff63a1..e8df623 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ backend-error-j.txt backend-error-k.txt backend-error-l.txt +backend-error-m.txt +backend-error-n.txt +backend-error-o.txt diff --git a/backend/scripts/patch-medusa.js b/backend/scripts/patch-medusa.js index b20a9fd..c18625f 100644 --- a/backend/scripts/patch-medusa.js +++ b/backend/scripts/patch-medusa.js @@ -21,6 +21,16 @@ const notificationPath = path.join( "services", "notification.js" ); +const fulfillmentPath = path.join( + __dirname, + "..", + "node_modules", + "@medusajs", + "medusa", + "dist", + "services", + "fulfillment-provider.js" +); const targets = [ { @@ -31,6 +41,10 @@ const targets = [ label: "notification", filePath: notificationPath, }, + { + label: "fulfillment-provider", + filePath: fulfillmentPath, + }, ]; const replacements = [ -- cgit v1.2.3