correction bug cloudinary

This commit is contained in:
sebvtl728 2025-07-31 17:06:15 +02:00
parent bfe25828fe
commit 2ee6c53a98
4 changed files with 4 additions and 4950 deletions

BIN
.DS_Store vendored

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
server/.DS_Store vendored

Binary file not shown.

View File

@ -6,7 +6,10 @@ import cors from "cors";
dotenv.config();
const app = express();
app.use(cors());
app.use(cors({
origin: "https://octopusdesign.fr"
}));
app.use("/api", cloudinaryRoute);
const PORT = process.env.PORT || 3001;