diff options
| -rw-r--r-- | .env | 4 | ||||
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | backend/scripts/patch-medusa.js | 14 |
3 files changed, 19 insertions, 2 deletions
@@ -3,7 +3,7 @@ # Remplacez <user>, <password>, <host> 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" @@ -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 = [
|
