@written/cors-setup
TypeScript icon, indicating that this package has built-in type declarations

0.3.18 • Public • Published

Written Logo

@written/cors-setup

Setup CORS to, by default, allow everything, in your Appwrite app. Offers a wrapper to use with @written/wrap, exported as wrapCorsResponse, aswell as a function to, based on the inputted args, return just the response headers.

Codeberg License

Installation

In your project, run:

pnpm i @written/cors-setup

Usage

TODO: Describe usage.

Notice

This is a mostly internal package, it's recommended to directly use @written/app's app.cors() method, which calls this.

Readme

Keywords

none

Package Sidebar

Install

npm i @written/cors-setup

Weekly Downloads

6

Version

0.3.18

License

MIT

Unpacked Size

21.5 kB

Total Files

10

Last publish

Collaborators

  • exponentialworkload