chore(nx-dev): add todo comment for moving endpoint to nx api (#30286)

This commit is contained in:
MaxKless 2025-03-31 10:22:01 -04:00 committed by GitHub
parent f3d2761869
commit e29f8f0d46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@ import { ChatItem, CustomError } from '@nx/nx-dev/util-ai';
export const config = { export const config = {
runtime: 'edge', runtime: 'edge',
}; };
// TODO: move this endpoint to the nx api. nx.dev shouldn't be for external consumption.
export default async function handler(request: NextRequest) { export default async function handler(request: NextRequest) {
const country = request.geo.country; const country = request.geo.country;
const restrictedCountries: string[] = [ const restrictedCountries: string[] = [