mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-18 19:19:36 +02:00
Backend: auth for config and queries. Refactor of middleware exports
This commit is contained in:
parent
e3f167921c
commit
22471d64c7
10 changed files with 43 additions and 31 deletions
2
api.js
2
api.js
|
@ -1,6 +1,6 @@
|
|||
const { join } = require('path');
|
||||
const express = require('express');
|
||||
const errorHandler = require('./middleware/errorHandler');
|
||||
const { errorHandler } = require('./middleware');
|
||||
|
||||
const api = express();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue