readme, changes to api structure

This commit is contained in:
Mikayla Dobson
2022-10-02 10:13:31 -05:00
parent 7b3063f43b
commit 6873bab352
8 changed files with 13 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
const router = require('express').Router();
module.exports = (app) => {
app.use('/api/orders', router);
app.use('/orders', router);
router.get('/', async (req, res, next) => {
try {