diff --git a/aws/viewer-request/index.js b/aws/viewer-request/index.js index a57da5045..c3e1d1278 100644 --- a/aws/viewer-request/index.js +++ b/aws/viewer-request/index.js @@ -17,7 +17,7 @@ function handler(event) { const request = event.request; const host = request.headers.host.value; - const path = request.uri.toLowerCase(); + let path = request.uri.toLowerCase(); // Only use the base domain, not subdomains if (host !== 'surrealdb.com') { diff --git a/src/components/layout/BaseLayout.astro b/src/components/layout/BaseLayout.astro index bcca93b9b..ca0f3b4d6 100644 --- a/src/components/layout/BaseLayout.astro +++ b/src/components/layout/BaseLayout.astro @@ -1,6 +1,6 @@ --- -import Icon from '@img/icon/icon.svg'; import PreviewImage from '@assets/img/social-preview.jpg'; +import Icon from '@img/icon/icon.svg'; import Footer from '@src/components/layout/Footer/Footer.astro'; import Navbar from '@src/components/layout/Navbar/Navbar.astro'; import '@src/styles/colors.scss';