Skip to content

Can i use it without defining res.locals.messages? #23

@galuh1300d

Description

@galuh1300d

Hello, can i use express-messages without defining

app.use(function (req, res, next) {
  res.locals.messages = require('express-messages')(req, res);
  next();
});

because i try it to combine with fastify, but fastify doesn't have locals
thanks before

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions