Fixed team website create.

This commit is contained in:
Mike Cao committed 2024-02-04 00:09:15 -08:00
1 parent e971f2533d
commit d9670f10a4
8 files changed
+29 -39

No files matched your search

@@ -1,7 +1,8 @@
import { ok } from 'next-basics';
import { CURRENT_VERSION, TELEMETRY_PIXEL } from 'lib/constants';
import { NextApiRequest, NextApiResponse } from 'next';
export default function handler(req, res) {
export default function handler(req: NextApiRequest, res: NextApiResponse) {
if (process.env.NODE_ENV === 'production') {
res.setHeader('content-type', 'text/javascript');