Skip to content

Commit

Permalink
chore: Update meta tag for Content-Security-Policy
Browse files Browse the repository at this point in the history
  • Loading branch information
singhAmandeep007 committed May 20, 2024
1 parent 7474d9d commit 46b1844
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self' 'unsafe-inline'"
/>

<link
rel="icon"
Expand Down
1 change: 0 additions & 1 deletion src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const router = createBrowserRouter([
{
path: "/",
lazy: async () => {
await fakeDelay(1000);
const { HomePage } = await import("@/Pages/Home");
return {
Component: HomePage,
Expand Down

0 comments on commit 46b1844

Please sign in to comment.