dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
167 B
9 lines
167 B
var parse = require('url').parse;
|
|
|
|
exports.pathMatch = function(url, path) {
|
|
try {
|
|
return parse(url).pathname === path;
|
|
} catch (e) {
|
|
return false;
|
|
}
|
|
};
|
|
|