Skip to content

Commit

Permalink
Add map styles from leaflet npm package and remove CDN link
Browse files Browse the repository at this point in the history
  • Loading branch information
david-tejada committed Apr 2, 2024
1 parent fcbe661 commit accb7be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="stylesheet" href="src/style.css" />
<link
rel="stylesheet"
href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
crossorigin=""
/>
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Frontend Mentor | IP Address Tracker</title>
Expand Down
1 change: 1 addition & 0 deletions src/map.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import L from "leaflet";
import "leaflet/dist/leaflet.css";

const locationIcon = L.icon({
iconUrl: "/icon-location.svg",
Expand Down

0 comments on commit accb7be

Please sign in to comment.