mirror of
https://github.com/KeygraphHQ/juice-shop.git
synced 2026-11-07 11:06:06 -10:00
14 lines
326 B
TypeScript
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 })
|
|
}
|
|
}
|