Skip to content

Commit

Permalink
Remove route rules
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sumi-k committed Feb 13, 2024
1 parent 1f31e6c commit 7cfc7cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-frontend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
sed -i "s|CLOUDFRONT_URL_VALUE|${{ secrets.CLOUDFRONT_URL_VALUE_DEV }}|g" config.js
sh ./../deploy/generate-sitemap.sh https://dev-stack.canopas.com https://dev-stack-api.canopas.com
yarn install --frozen-lockfile && yarn build
aws s3 rm s3://canopas-website-ssr-dev --recursive
cd .output/server && zip canopas_website_SSR_dev_${{ github.sha }}-${{ github.run_attempt }}.zip -r . && aws s3 cp canopas_website_SSR_dev_${{ github.sha }}-${{ github.run_attempt }}.zip s3://canopas-lambda-handlers && cd ../..
aws s3 sync ./.output/public s3://canopas-website-ssr-dev --exclude "*.js"
aws s3 sync ./.output/public s3://canopas-website-ssr-dev --include "*.js" --content-type "application/javascript"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-frontend-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
mv config.prod.js config.js
sh ./../deploy/generate-sitemap.sh https://canopas.com https://prod-stack-api.canopas.com
yarn install --frozen-lockfile && yarn build
aws s3 rm s3://canopas-website-ssr-prod --recursive
cd .output/server && zip canopas_website_SSR_prod_${{ github.sha }}-${{ github.run_attempt }}.zip -r . && aws s3 cp canopas_website_SSR_prod_${{ github.sha }}-${{ github.run_attempt }}.zip s3://canopas-lambda-handlers && cd ../..
aws s3 sync ./.output/public s3://canopas-website-ssr-prod --exclude "*.js"
aws s3 sync ./.output/public s3://canopas-website-ssr-prod --include "*.js" --content-type "application/javascript"
Expand Down
20 changes: 0 additions & 20 deletions nuxt-frontend/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,6 @@ export default defineNuxtConfig({
});
},
},
routeRules: {
"/blog": { isr: true },
"/resources": { isr: true },
"/tag/**": { isr: true },
"/": { prerender: true },
"/services": { prerender: true },
"/portfolio": { prerender: true },
"/contributions": { prerender: true },
"/about": { prerender: true },
"/jobs/**": { prerender: true },
"/contact": { prerender: true },
"/android-app-development": { prerender: true },
"/ios-app-development": { prerender: true },
"/mobile-app-development": { prerender: true },
"/backend-app-development": { prerender: true },
"/flutter-app-development": { prerender: true },
"/frontend-development": { prerender: true },
"/thank-you": { prerender: true },
"/unsubscribe": { prerender: true },
},
nitro: {
preset: "aws-lambda",
},
Expand Down

0 comments on commit 7cfc7cb

Please sign in to comment.