Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
temp workaround: remove use of get static prop
Maidul Islame5347719c32a
diff --git a/backend/src/index.ts b/backend/src/index.tsindex 7465365863..aa4d09e0bb 100644--- a/backend/src/index.ts+++ b/backend/src/index.ts@@ -212,11 +212,10 @@ const main = async () => {app.use("/api", healthCheck);if (process.env.NODE_ENV == "production") {- const dir = path.join(__dirname, "../frontend-build");- process.chdir(dir);+ const nextJsBuildPath = path.join(__dirname, "../frontend-build");const nextApp = next({dev: false,- dir+ dir: nextJsBuildPath});const nextHandler = nextApp.getRequestHandler();diff --git a/frontend/src/pages/integrations/[id].tsx b/frontend/src/pages/integrations/[id].tsxindex 143e3ad2fe..06cea5d640 100644--- a/frontend/src/pages/integrations/[id].tsx+++ b/frontend/src/pages/integrations/[id].tsx@@ -4,11 +4,11 @@ import frameworkIntegrationOptions from "public/json/frameworkIntegrations.json"import { IntegrationsPage } from "@app/views/IntegrationsPage";-type Props = {- frameworkIntegrations: typeof frameworkIntegrationOptions;-};+// type Props = {+// frameworkIntegrations: typeof frameworkIntegrationOptions;+// };-const Integration = ({ frameworkIntegrations }: Props) => {+const Integration = () => {const { t } = useTranslation();return (@@ -20,25 +20,25 @@ const Integration = ({ frameworkIntegrations }: Props) => {<meta property="og:title" content="Manage your .env files in seconds" /><meta name="og:description" content={t("integrations.description") as string} /></Head>- <IntegrationsPage frameworkIntegrations={frameworkIntegrations} />+ <IntegrationsPage frameworkIntegrations={frameworkIntegrationOptions} /></>);};-export const getStaticProps = () => {- return {- props: {- frameworkIntegrations: frameworkIntegrationOptions- }- };-};--export const getStaticPaths = async () => {- return {- paths: [], // indicates that no page needs be created at build time- fallback: "blocking" // indicates the type of fallback- };-};+// export const getStaticProps = () => {+// return {+// props: {+// frameworkIntegrations: frameworkIntegrationOptions+// }+// };+// };++// export const getStaticPaths = async () => {+// return {+// paths: [], // indicates that no page needs be created at build time+// fallback: true // indicates the type of fallback+// };+// };Integration.requireAuth = true;