update edit post cloudinary

This commit is contained in:
sebvtl728
2025-07-31 18:25:36 +02:00
parent 2ee6c53a98
commit e267591ebb
4 changed files with 131 additions and 140 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ dotenv.config();
const app = express();
app.use(cors({
origin: "https://octopusdesign.fr"
// origin: "https://octopusdesign.fr"
origin: ["https://octopusdesign.fr", "http://localhost:3000"]
}));
app.use("/api", cloudinaryRoute);