add a constant file to read the env variables
This commit is contained in:
parent
7c5ab7c65f
commit
4007efcc57
4 changed files with 37 additions and 17 deletions
|
@ -1,6 +1,7 @@
|
|||
import { NextResponse } from "next/server";
|
||||
import fs from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { VALIDATED_ENV } from "../../../../lib/constants";
|
||||
|
||||
export async function GET(request: Request, { params }: { params: { id: string } }) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue