diff --git a/docs/content/development/endpoints/create.md b/docs/content/development/endpoints/create.md index 91ee74d13c..b5ad0425e7 100644 --- a/docs/content/development/endpoints/create.md +++ b/docs/content/development/endpoints/create.md @@ -105,7 +105,7 @@ import { import { ConfigModule, } from "@medusajs/medusa/dist/types/global" -import cors from "cors" +import * as cors from "cors" ``` Next, in the exported function, retrieve the CORS configurations of your backend using the utility functions you imported: