1
0
mirror of https://github.com/ragestudio/comty.git synced 2025-06-21 16:34:15 +00:00
2024-03-05 13:11:23 +00:00

9 lines
209 B
JavaScript
Executable File

import withAuthentication from "../withAuthentication"
export default (req, res, next) => {
if (req.headers?.authorization) {
withAuthentication(req, res, next)
} else {
next()
}
}