7
All checks were successful
deploy / deploy (push) Successful in 1m9s

This commit is contained in:
Lee 2023-11-13 07:39:54 +00:00
parent 443b4ce2f7
commit da701cf046
3 changed files with 9 additions and 4 deletions

@ -1,7 +1,12 @@
const nextBuildId = require("next-build-id");
const { withSentryConfig } = require("@sentry/nextjs");
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
const remotePatterns = [

@ -1,8 +1,8 @@
const InfisicalClient = require("infisical-node");
import InfisicalClient from "infisical-node";
const infisicalClient = new InfisicalClient({
token: process.env.INFISICAL_TOKEN,
siteURL: "https://secrets.fascinated.cc",
});
module.exports = infisicalClient;
export default infisicalClient;

@ -28,7 +28,7 @@
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"src/secrets.js"
"src/secrets.ts"
],
"exclude": ["node_modules"]
}