5 lines
171 B
JavaScript
5 lines
171 B
JavaScript
|
export function isAPIRoute(value) {
|
||
|
return value === "/api" || Boolean(value == null ? void 0 : value.startsWith("/api/"));
|
||
|
}
|
||
|
|
||
|
//# sourceMappingURL=is-api-route.js.map
|