chore(nx-dev): add todo comment for moving endpoint to nx api (#30286)
This commit is contained in:
parent
f3d2761869
commit
e29f8f0d46
@ -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[] = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user