mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
6 lines
128 B
TypeScript
6 lines
128 B
TypeScript
export function isLocalhost() {
|
|
return (
|
|
typeof window !== 'undefined' && window.location.hostname === 'localhost'
|
|
);
|
|
}
|