Rocky_Mountain_Vending/.pnpm-store/v10/files/ce/31851adbc2f69f56b8e271440153c34d072ac0830fe838cb77b5cb386dfb0e8c9d6be448be3641e3c0e811933625c58c36ed8528bc0a26dd1056aa3938590c
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

23 lines
No EOL
557 B
Text

/**
* List of valid HTTP methods that can be implemented by Next.js's Custom App
* Routes.
*/ export const HTTP_METHODS = [
'GET',
'HEAD',
'OPTIONS',
'POST',
'PUT',
'DELETE',
'PATCH'
];
/**
* Checks to see if the passed string is an HTTP method. Note that this is case
* sensitive.
*
* @param maybeMethod the string that may be an HTTP method
* @returns true if the string is an HTTP method
*/ export function isHTTPMethod(maybeMethod) {
return HTTP_METHODS.includes(maybeMethod);
}
//# sourceMappingURL=http.js.map