mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 18:52:56 +00:00
dev day #63
This commit is contained in:
@@ -72,7 +72,7 @@ export function parseGoogleMapsUrl(url: string): MapCoordinates | null {
|
||||
const urlObj = new URL(url);
|
||||
|
||||
// Check if it's a Google Maps domain
|
||||
if (!urlObj.hostname.includes('google.com')) {
|
||||
if (!urlObj.hostname.includes('google.com') && !urlObj.hostname.includes('google.cz')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user