- Full-featured monitoring dashboard for local web apps - Real-time status tracking with uptime percentages - Visual sparklines for status history - Add/Edit/Delete apps dynamically - Categories and color coding - Auto-refresh every 30 seconds - API endpoints for apps and status management
10 lines
320 B
JavaScript
10 lines
320 B
JavaScript
import getRouteFromAssetPath from '../shared/lib/router/utils/get-route-from-asset-path';
|
|
export default function matchBundle(regex, input) {
|
|
const result = regex.exec(input);
|
|
if (!result) {
|
|
return null;
|
|
}
|
|
return getRouteFromAssetPath(`/${result[1]}`);
|
|
}
|
|
|
|
//# sourceMappingURL=match-bundle.js.map
|