0.1.4 • Published 11 months ago
astrocors v0.1.4
🧑🚀 AstroCors 🌟
CORS middleware for Astro.js applications. 🚀
Astro fans, this is designed to help you tackle CORS issues in the browser when using Astro.js. With AstroCors, you no longer have to face CORS errors when developing Astro.js applications. 😄
📦 Installation
npm install astrocors
🔧 Usage
import { corsMiddleware } from "astrocors";
Use it in your Astro.js application, in src/middleware.js
export default corsMiddleware;