Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@ yarn-error.log*
.turbo

# vercel
.vercel
.vercel

#from yarn build
apps/backend/public
2 changes: 1 addition & 1 deletion apps/backend/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ VITE_TALK_JS_SECRET_API_KEY=xxx

# Used in notifications
VENDOR_PANEL_URL=http://localhost:5173
STOREFRONT_URL=http://localhost:7001
STOREFRONT_URL=http://localhost:3000
BACKEND_URL=http://localhost:9000
2 changes: 1 addition & 1 deletion apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"medusa"
],
"scripts": {
"build": "medusa build && ln -s .medusa/server/public/ public",
"build": "medusa build && node -e \"const fs=require('fs');const path=require('path');const target='.medusa/server/public/';const link='public';try{if(fs.existsSync(link))fs.rmSync(link,{recursive:true,force:true});fs.symlinkSync(target,link,process.platform==='win32'?'junction':'dir');console.log('✔ Symlink created:',link,'→',target);}catch(e){console.error('✖ Failed to create symlink:',e.message);process.exit(1);}\"",
"seed": "medusa exec ./src/scripts/seed.ts",
"start": "medusa start --types=false",
"dev": "medusa develop --types=false",
Expand Down
1 change: 0 additions & 1 deletion apps/backend/public

This file was deleted.