delete uploaded file

This commit is contained in:
Takeshi Kimata
2024-03-17 20:15:54 +09:00
parent d94af046c0
commit 1825545bf0
4 changed files with 87 additions and 2 deletions

View File

@@ -63,7 +63,9 @@ app.use("/steps", stepsDeleteRoute);
// "/attachments"
const attachmentsNewRoute = require("./routes/attachments/new")(sequelize);
const attachmentsDeleteRoute = require("./routes/attachments/delete")(sequelize);
app.use("/attachments", attachmentsNewRoute);
app.use("/attachments", attachmentsDeleteRoute);
// "/runs"
const runsIndexRoute = require("./routes/runs/index")(sequelize);