parent
443b4ce2f7
commit
da701cf046
@ -1,7 +1,12 @@
|
|||||||
const nextBuildId = require("next-build-id");
|
const nextBuildId = require("next-build-id");
|
||||||
const { withSentryConfig } = require("@sentry/nextjs");
|
const { withSentryConfig } = require("@sentry/nextjs");
|
||||||
const withBundleAnalyzer = require("@next/bundle-analyzer")({ enabled: false });
|
const withBundleAnalyzer = require("@next/bundle-analyzer")({ enabled: false });
|
||||||
const infisicalClient = require("./src/secrets");
|
const InfisicalClient = require("infisical-node");
|
||||||
|
|
||||||
|
const infisicalClient = new InfisicalClient({
|
||||||
|
token: process.env.INFISICAL_TOKEN,
|
||||||
|
siteURL: "https://secrets.fascinated.cc",
|
||||||
|
});
|
||||||
|
|
||||||
// Define remote patterns for images
|
// Define remote patterns for images
|
||||||
const remotePatterns = [
|
const remotePatterns = [
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
const InfisicalClient = require("infisical-node");
|
import InfisicalClient from "infisical-node";
|
||||||
|
|
||||||
const infisicalClient = new InfisicalClient({
|
const infisicalClient = new InfisicalClient({
|
||||||
token: process.env.INFISICAL_TOKEN,
|
token: process.env.INFISICAL_TOKEN,
|
||||||
siteURL: "https://secrets.fascinated.cc",
|
siteURL: "https://secrets.fascinated.cc",
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = infisicalClient;
|
export default infisicalClient;
|
@ -28,7 +28,7 @@
|
|||||||
"**/*.ts",
|
"**/*.ts",
|
||||||
"**/*.tsx",
|
"**/*.tsx",
|
||||||
".next/types/**/*.ts",
|
".next/types/**/*.ts",
|
||||||
"src/secrets.js"
|
"src/secrets.ts"
|
||||||
],
|
],
|
||||||
"exclude": ["node_modules"]
|
"exclude": ["node_modules"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user