build(apps/web): enabled client code Sentry source maps uploading. (#21108)
Co-authored-by: Omar López <[email protected]>
This commit is contained in:
1 parent
bccffb328b
commit
71e7300830
13 files changed
+230
-3487
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import { defaultResponderForAppDir } from "app/api/defaultResponderForAppDir";
|
||||
import { NextResponse } from "next/server";
|
||||
import * as pjson from "package.json";
|
||||
import packageJson from "package.json";
|
||||
|
||||
async function getHandler() {
|
||||
return NextResponse.json({ version: pjson.version });
|
||||
return NextResponse.json({ version: packageJson.version });
|
||||
}
|
||||
|
||||
export const GET = defaultResponderForAppDir(getHandler);
|
||||
Reference in new issue
Block a user