Funkel
Funkel
NNuxt
Created by Funkel on 7/4/2024 in #❓・help
Nuxt Dev deployment always redirects to Prod deployment
Hey everyone, not sure if this is the right place for this or not but i need help help. I'm using serverless framework to deploy a Nuxt 3 SSR site to AWS lambda and S3 with cloudfront infront of both origins and cloudflare as my dns provider. My production site works fine but anytime my dev site URL is used it redirects to the production site URL. If i specify a route like a site map of the dev site i am able to get the sitemap of the dev site. Prod: ipeslawn.com dev: dev.ipeslawn.com when visiting dev.ipeslawn.com i get a 301 redirect to ipeslawn.com I disabled all Cloudflare proxy and checked all my URLs to make sure the right backends are being used. I've disabled all forwards in nuxt seo and literally checked every single file for anything that would cause a redirect. I've validated all of my deployments are completely separate in different s3 buckets and different lambda's my environment variables for sire URL and other relative variables are set correctly. I've run out of things to check and would appreciate any idea's or suggestions on what could be causing my redirect.
3 replies
NNuxt
Created by Funkel on 4/18/2024 in #❓・help
How do i make nitro output .js files instead of .mjs files?
I'm trying to deploy to aws lambda using serverless framework and serverless framework when defining a handler is only looking for index.js files and i'm having to shim the file to make it work.
1 replies