refactor(routes): move product/products from cms to ecommerce domain

Product and products routes were sitting under /api/cms but conceptually
belong to a separate e-commerce domain. Split them out into a dedicated
ecommerce subrouter mounted at /api/ecommerce.
This commit is contained in:
2026-04-25 17:20:36 +02:00
parent 64e33268e3
commit c09b60131a
5 changed files with 19 additions and 2 deletions
+1
View File
@@ -2,6 +2,7 @@ var routes = require('express').Router();
routes.use('/skydive', require('./skydive'));
routes.use('/cms', require('./cms'));
routes.use('/ecommerce', require('./ecommerce'));
routes.use('/herowars', require('./herowars'));
module.exports = routes;