10 lines
287 B
JavaScript
10 lines
287 B
JavaScript
const Router = require("@koa/router");
|
|
const controller = require("../../controllers/instance");
|
|
|
|
const router = Router();
|
|
|
|
router
|
|
.post("/api/:clientId/:applicationId/instances", controller.create)
|
|
.delete("/api/instances/:instanceId", controller.destroy);
|
|
|
|
module.exports = router; |