File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626.medusa /public /
2727.medusa
2828
29- ecosystem.config.js
29+ ecosystem.config.js
30+
31+ .env.production
32+ deploy-fixes.sh
Original file line number Diff line number Diff line change @@ -56,6 +56,23 @@ module.exports = defineConfig({
5656 {
5757 resolve : "./src/modules/banner" ,
5858 } ,
59+ {
60+ resolve : "@medusajs/medusa/file" ,
61+ options : {
62+ providers : [
63+ {
64+ resolve : "@medusajs/file-local" ,
65+ id : "local" ,
66+ options : {
67+ // Upload directory for product images
68+ upload_dir : "uploads" ,
69+ // Backend URL is used to generate full URLs for images
70+ backend_url : process . env . MEDUSA_BACKEND_URL || "http://localhost:9000" ,
71+ } ,
72+ } ,
73+ ] ,
74+ } ,
75+ } ,
5976 {
6077 resolve : "@medusajs/medusa/auth" ,
6178 options : {
Original file line number Diff line number Diff line change 3131 "@medusajs/cache-redis" : " ^2.13.1" ,
3232 "@medusajs/cli" : " ^2.12.2" ,
3333 "@medusajs/event-bus-redis" : " ^2.13.1" ,
34+ "@medusajs/file-local" : " ^2.13.1" ,
3435 "@medusajs/framework" : " ^2.12.2" ,
3536 "@medusajs/medusa" : " ^2.12.2" ,
3637 "@medusajs/payment-stripe" : " ^2.12.2" ,
You can’t perform that action at this time.
0 commit comments