Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
// experimental: {
// runtime: 'experimental-edge',
// runtime: 'edge',
// },
images: {
unoptimized: true,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Head from 'next/head';
import { getUtmSource } from '@/utils/handleUtmSource';
// import Script from 'next/script';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

export default function MyApp({ Component, pageProps, pagesData }) {
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/verify-recaptcha.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ export default async function (req, res) {
}
}

export const runtime = 'experimental-edge';
export const runtime = 'edge';
2 changes: 1 addition & 1 deletion src/pages/automations/[...slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { useState, useRef, useEffect } from 'react';
import { useRouter } from 'next/router';
import ZoomableFlowContainer from '@/components/flowComp/zoomableFlowContainer';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

const TemplateDetailPage = ({ footerData, metaData, template, relatedTemplates, isCategory, categoryName, navbarData }) => {
const [scale, setScale] = useState(1);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/automations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import MarqueeComponent from '@/components/marqueeComponent/marqueeComponent';
import BuildOptionsCTA from '@/pages/homeSection/buildOptionsCTA';
import { handleRedirect } from '@/utils/handleRedirection';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

const TEMPLATES_PER_PAGE = 6;

Expand Down
2 changes: 1 addition & 1 deletion src/pages/black-friday-sale.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { GoArrowUpRight } from 'react-icons/go';
import Marquee from 'react-fast-marquee';
import { getAppCount } from '@/utils/axiosCalls';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

const FallbackImage = ({ src, fallbackSrc, alt, ...props }) => {
const [imgSrc, setImgSrc] = useState(src);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/data-deletion-policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getFooterData, getNavbarData } from '@/utils/getData';
import { FOOTER_FIELDS, NAVBAR_FIELDS } from '@/const/fields';
import { getMetaData } from '@/utils/getMetaData';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

export async function getServerSideProps(context) {
const { req } = context;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/data-retention-deletion.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getFooterData, getNavbarData } from '@/utils/getData';
import { FOOTER_FIELDS, NAVBAR_FIELDS } from '@/const/fields';
import { getMetaData } from '@/utils/getMetaData';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

export async function getServerSideProps(context) {
const { req } = context;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/department/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { getTemplates } from '@/utils/axiosCalls';
import TemplateContainer from '@/components/IntegrationsComp/templateContainer/templateContainer';
import Breadcrumb from '@/components/breadcrumb/breadcrumb';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

const DepartmentDetailPage = ({ metaData, navbarData, footerData, department, blogsData, templateToShow }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/departments.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const DepartmentGrid = ({ metaData, navbarData, footerData, departmentData, faqD

export default DepartmentGrid;

export const runtime = 'experimental-edge';
export const runtime = 'edge';
export async function getServerSideProps(context) {
const { req } = context;
const protocol = req.headers['x-forwarded-proto'] || 'http';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { getMetaData } from '@/utils/getMetaData';
import { getFaqData } from '@/utils/getFaqData';
import { getAppCount } from '@/utils/axiosCalls';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

const Embed = ({
blogData,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/experts.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export async function getServerSideProps(context) {
},
};
}
export const runtime = 'experimental-edge';
export const runtime = 'edge';

const Experts = ({ verifiedAgencies, notVerifiesAgencies, pageData, pathArray, metaData, expertsHelp, footerData, navbarData }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/features/[[...feature]].js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function Features({ features, featureData, footerData, metaData,
);
}

export const runtime = 'experimental-edge';
export const runtime = 'edge';

export async function getServerSideProps(context) {
const { req } = context;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/find-apps/[[...slug]].js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import AZMetaHeadComp from '@/components/aZComp/aZMetaHeadComp/aZMetaHeadComp';
import { fetchPluginData } from '@/utils/axiosCalls';
import Head from 'next/head';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

const SelectedAlphabetPage = ({ apps, alphabet, appDetails, step, alphabet2 }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/free-access-programs.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getFooterData, getProgramsData, getNavbarData } from '@/utils/getData';
import { FOOTER_FIELDS, PROGRAMS_FIELDS, NAVBAR_FIELDS } from '@/const/fields';
import { getMetaData } from '@/utils/getMetaData';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

export default function Programs({ footerData, metaData, programs, navbarData }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import IntelligentAutomationsSection from '@/pages/homeSection/IntelligentAutoma
import PanelSection from '@/pages/homeSection/panelSection';
import ShowDepartment from '@/pages/homeSection/homeDepartment/showDepartment';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

const Index = ({
metaData,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/integrations/[[...slug]].js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { getCombos, getApps, getAppCount, getTemplates } from '@/utils/axiosCall
import { getMetaData } from '@/utils/getMetaData';
import { getFaqData } from '@/utils/getFaqData';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

export default function Integrations({
pageInfo,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/mcp/[[...slug]].js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import McpIndexComp from '@/components/mcpComps/mcpIndexComp/McpIndexComp';
import { getAppCount, getApps, getCombos } from '@/utils/axiosCalls';
import { getMetaData } from '@/utils/getMetaData';
import { getFaqData } from '@/utils/getFaqData';
export const runtime = 'experimental-edge';
export const runtime = 'edge';

export default function Mcp({
pageInfo,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/mcp/aiagent.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Link from 'next/link';
import { getMetaData } from '@/utils/getMetaData';
import { getFaqData } from '@/utils/getFaqData';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

export default function aiagent({ footerData, faqData, metaData, blogData, navbarData }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/mcp/saas.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Link from 'next/link';
import { getMetaData } from '@/utils/getMetaData';
import { getFaqData } from '@/utils/getFaqData';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

export default function pricing({ footerData, faqData, metaData, blogData, navbarData }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/pricing.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import getCountries from '@/utils/getCountries';
import { getAppCount } from '@/utils/axiosCalls';
import { GiCheckMark } from 'react-icons/gi';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

export default function pricing({ footerData, faqData, metaData, features, countries, appCount, navbarData }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/privacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function getServerSideProps(context) {
};
}

export const runtime = 'experimental-edge';
export const runtime = 'edge';

const Privacy = ({ footerData, metaData, navbarData }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getMetaData } from '@/utils/getMetaData';
import Image from 'next/image';
import { getAppCount } from '@/utils/axiosCalls';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

const Login = ({ redirect_to, appCount }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export async function getServerSideProps(context) {
},
};
}
export const runtime = 'experimental-edge';
export const runtime = 'edge';

export default function Support({ footerData, metaData, testimonials, navbarData }) {
const [issubmit, setIsSubmit] = useState(false);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/terms.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function getServerSideProps(context) {
},
};
}
export const runtime = 'experimental-edge';
export const runtime = 'edge';

const Terms = ({ footerData, metaData, navbarData }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workflow-automation-ideas.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useEffect, useState, useRef, useCallback } from 'react';
import Image from 'next/image';
import searchApps from '@/utils/searchApps';
import { CiSquarePlus } from 'react-icons/ci';
export const runtime = 'experimental-edge';
export const runtime = 'edge';

const useDebounce = (value, delay) => {
const [debouncedValue, setDebouncedValue] = useState(value);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workflow-automations.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { GrAction } from 'react-icons/gr';
import { TbSettingsAutomation } from 'react-icons/tb';
import { FaChartLine } from 'react-icons/fa';

export const runtime = 'experimental-edge';
export const runtime = 'edge';

const getAutomationWorkIcon = (automationWork) => {
switch (automationWork) {
Expand Down