mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-07-30 02:22:54 +00:00
Merge remote-tracking branch 'origin/v3.4' into dev
This commit is contained in:
1
interface/src/utils/route.ts
Normal file
1
interface/src/utils/route.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const routeMatches = (route: string, pathname: string) => pathname.startsWith(route + '/') || pathname === route;
|
||||
Reference in New Issue
Block a user