15 lines
373 B
JavaScript
15 lines
373 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
Object.defineProperty(exports, "isAPIRoute", {
|
||
|
enumerable: true,
|
||
|
get: function() {
|
||
|
return isAPIRoute;
|
||
|
}
|
||
|
});
|
||
|
function isAPIRoute(value) {
|
||
|
return value === "/api" || Boolean(value == null ? void 0 : value.startsWith("/api/"));
|
||
|
}
|
||
|
|
||
|
//# sourceMappingURL=is-api-route.js.map
|