Skip to content

Commit

Permalink
add uploads 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Aweiro committed Nov 4, 2024
1 parent af43f3d commit c8e5990
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ app.get('/photos', async (req, res) => {


// Додавання нового фото
const { v4: uuidv4 } = require('uuid'); // Потрібен для генерації унікального токену

app.post('/upload', upload.single('photo'), (req, res) => {
const { description, decorName, price } = req.body;
Expand Down

0 comments on commit c8e5990

Please sign in to comment.