Moved constant outside of middleware loop.
Moved constant outside of middleware loop.

Why:

Logs were getting errors about the constant on every request, because
the middleware loop runs with every request.

MAPC/developmentdatabase,MAPC/developmentdatabase,MAPC/developmentdatabase,MAPC/developmentdatabase