-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use rel="noreferrer" with target="_blank" links
- Loading branch information
1 parent
734d0fb
commit 12f3e4c
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ export default function Map() { | |
> | ||
<TileLayer | ||
url={`https://api.mapy.cz/v1/maptiles/outdoor/256/{z}/{x}/{y}?apikey=${API_KEY}`} | ||
attribution='<a href="https://api.mapy.cz/copyright" target="_blank">© Seznam.cz a.s. a další</a>' | ||
attribution='<a href="https://api.mapy.cz/copyright" target="_blank" rel="noreferrer">© Seznam.cz a.s. a další</a>' | ||
/> | ||
<SracLocation /> | ||
<MapToilets /> | ||
|
@@ -26,7 +26,7 @@ export default function Map() { | |
rel="stylesheet" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/L.Control.Locate.min.css" | ||
/> | ||
<a href="http://mapy.cz/" target="_blank" className="absolute z-[1000] bottom-0"><img alt="Mapy.cz logo" src="https://api.mapy.cz/img/api/logo.svg"/></a> | ||
<a href="http://mapy.cz/" target="_blank" rel="noreferrer" className="absolute z-[1000] bottom-0"><img alt="Mapy.cz logo" src="https://api.mapy.cz/img/api/logo.svg"/></a> | ||
</MapContainer> | ||
); | ||
} |