|
|
|
@ -38,6 +38,11 @@ router |
|
|
|
// TODO: for now this builder endpoint is not authorized/secured, will need to be
|
|
|
|
.get("/builder/:file*", controller.serveBuilder) |
|
|
|
.post("/api/attachments/process", authorized(BUILDER), controller.uploadFile) |
|
|
|
.post( |
|
|
|
"/api/attachments/delete", |
|
|
|
authorized(BUILDER), |
|
|
|
controller.deleteObjects |
|
|
|
) |
|
|
|
.post("/api/beta/:feature", controller.toggleBetaUiFeature) |
|
|
|
.post( |
|
|
|
"/api/attachments/:tableId/upload", |
|
|
|
|