routes/appConfiguration.ts
/*
* Copyright (c) 2014-2024 Bjoern Kimminich & the OWASP Juice Shop contributors.
* SPDX-License-Identifier: MIT
*/
import config from 'config'
import { type Request, type Response } from 'express'
module.exports = function retrieveAppConfiguration () {
return (_req: Request, res: Response) => {
res.json({ config })
}
}