import * as middleware from "https://raw.githubusercontent.com/worker-tools/middleware/master/cors.ts";
ALLOW_CREDENTIALS | |
ALLOW_HEADERS | |
ALLOW_METHODS | |
ALLOW_ORIGIN | |
anyCORS | A CORS middleware that gives clients exactly the permissions they ask for, unless constrained by the definitions in |
cors | A CORS middleware that gives clients exactly the permissions they ask for, unless constrained by the definitions in |
ORIGIN | |
REQUEST_HEADERS | |
REQUEST_METHOD | |
strictCORS | A CORS middleware that only grants the permissions defined via |
VARY |
CORSOptions |
Method | |
StrictCORSOptions |