Skip to content

Commit

Permalink
code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
kearfy committed Sep 17, 2024
1 parent 201b9f5 commit 2f9b018
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws/viewer-request/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/BaseLayout.astro
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 2f9b018

Please sign in to comment.