mirror of
https://github.com/AlecM33/Werewolf.git
synced 2026-01-01 16:59:29 +01:00
add brightness affect to active card element
This commit is contained in:
@@ -26,7 +26,7 @@ if (process.env.NODE_ENV.trim() === 'production') {
|
||||
router.use(cors(globals.CORS));
|
||||
|
||||
router.use((req, res, next) => {
|
||||
req.accepts()
|
||||
req.accepts();
|
||||
if (isAuthorized(req)) {
|
||||
next();
|
||||
} else {
|
||||
|
||||
@@ -13,7 +13,7 @@ const globals = {
|
||||
optionsSuccessStatus: 200
|
||||
},
|
||||
CONTENT_TYPE_VALIDATOR: (req, res, next) => {
|
||||
req.accepts()
|
||||
req.accepts();
|
||||
if (req.is('application/json')) {
|
||||
next();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user