diff --git a/.github/workflows/aws-hosting-merge-deploy-newm-mobile-wallet-connector.yml b/.github/workflows/aws-hosting-merge-deploy-newm-mobile-wallet-connector.yml index bc1a194a..da5bdf11 100644 --- a/.github/workflows/aws-hosting-merge-deploy-newm-mobile-wallet-connector.yml +++ b/.github/workflows/aws-hosting-merge-deploy-newm-mobile-wallet-connector.yml @@ -38,4 +38,5 @@ jobs: - name: Deploy to Lambda Function run: | npm install --prefix .github/workflows/cdk + sed -i 's|const nextConfig = .*|const nextConfig = { basePath: "/wallet-connect", |' apps/mobile-wallet-connector/next.config.js APPNAME=mobile-wallet-connector APPID=MobileWalletConnector QUALIFIER=Garage NEXT_PUBLIC_ENV=staging NEXT_PUBLIC_RECAPTCHA_SITE_KEY_STAGING=${{ secrets.RECAPTCHA_SITE_KEY_STAGING }} npm run --prefix .github/workflows/cdk cdk:deploy deploy -- --require-approval never diff --git a/apps/mobile-wallet-connector/next.config.js b/apps/mobile-wallet-connector/next.config.js index dca2e856..7fadae6f 100644 --- a/apps/mobile-wallet-connector/next.config.js +++ b/apps/mobile-wallet-connector/next.config.js @@ -13,8 +13,6 @@ const nextConfig = { svgr: false }, - basePath: "/wallet-connect", - compiler: { // For other options, see https://styled-components.com/docs/tooling#babel-plugin styledComponents: true