We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aa5a33 commit 0bddf74Copy full SHA for 0bddf74
next-env.d.ts
@@ -1,6 +1,5 @@
1
/// <reference types="next" />
2
/// <reference types="next/image-types/global" />
3
-/// <reference types="next/navigation-types/compat/navigation" />
4
/// <reference path="./.next/types/routes.d.ts" />
5
6
// NOTE: This file should not be edited
next.config.mjs
@@ -40,6 +40,9 @@ const withNextra = nextra({
40
41
export default withNextra({
42
basePath: process.env.NEXT_PUBLIC_BASE_DIR ?? undefined,
43
+ // This is necessary because we're using CDN domains.
44
+ // It adds `cross-origin="anonymous"` to script tags
45
+ crossOrigin: "anonymous",
46
assetPrefix:
47
process.env.VERCEL_ENV === "production"
48
? "https://docs-authzed.vercel.app/docs"
0 commit comments