Skip to content

Commit

Permalink
sudoku
Browse files Browse the repository at this point in the history
  • Loading branch information
Guysnacho committed Jun 1, 2024
1 parent f01af75 commit bf9eeef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export async function middleware(request: NextRequest) {
const searchParams = request.nextUrl.searchParams
const isOnboarding = searchParams.get("onboarding") === "true"
const isStaticAsset =
request.url.includes("public/assets") ||
request.url.includes("/favicon.ico")
request.url.includes("assets") ||
request.url.includes("favicon.ico")
const cartId = searchParams.get("cart_id")
const checkoutStep = searchParams.get("step")
const onboardingCookie = request.cookies.get("_medusa_onboarding")
Expand Down Expand Up @@ -116,9 +116,7 @@ export async function middleware(request: NextRequest) {
transformParams.size > 0
? new URL(originalParams.url) + transformParams.toString()
: new URL(originalParams.url),
{
headers: request.headers,
}
301
)
}

Expand Down
2 changes: 1 addition & 1 deletion src/modules/home/components/hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Hero = () => {
height={400}
alt="Hero Image of a car. Prometheus 🔥 (@iamateapot)"
about="Hero Image of a car. Prometheus 🔥 (@iamateapot)"
src="/HeroCar.jpg"
src="https://qvhnswvfglazvefaplac.supabase.co/storage/v1/object/public/assets/HeroCar.jpg"
/>
</div>
<div
Expand Down

0 comments on commit bf9eeef

Please sign in to comment.