diff --git a/pages/api/env.tsx b/pages/api/env.tsx deleted file mode 100644 index 66a7997..0000000 --- a/pages/api/env.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import { NextApiRequest, NextApiResponse } from 'next' -import getConfig from 'next/config' - -const config = getConfig().serverRuntimeConfig - - -export default async (req: NextApiRequest, res: NextApiResponse) => { - try { - res.send(JSON.stringify(config)) - res.status(200).end() - - } catch { - res.status(400).end() - } -} \ No newline at end of file