Skip to content

Commit

Permalink
revert: reverse proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
capJavert committed Nov 25, 2024
1 parent 4dbb71f commit 86e439e
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions packages/webapp/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,24 +106,6 @@ const nextConfig: NextConfig = {
},
assetPrefix: process.env.CDN_ASSET_PREFIX,
rewrites: async () => {
if (process.env.CF_DEPLOYMENT_URL) {
return {
beforeFiles: [
{
source: '/:path*',
destination: `${process.env.CF_DEPLOYMENT_URL}/:path*`,
},
],
afterFiles: [],
fallback: [
{
source: '/:path*',
destination: `${process.env.CF_DEPLOYMENT_URL}/:path*`,
},
],
};
}

const rewrites: Rewrite[] = [
{
source: '/api/sitemaps/:path*',
Expand Down

0 comments on commit 86e439e

Please sign in to comment.