Files
juice-shop/routes/appConfiguration.ts
2025-03-23 17:07:10 +01:00

14 lines
326 B
TypeScript

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