docs: fix import of cors (#4201)

* docs: fix import of cors

* eslint fixes
This commit is contained in:
Shahed Nasser
2023-05-29 18:06:20 +03:00
committed by GitHub
parent 6998666c6e
commit 06019f100a
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ import {
import {
ConfigModule,
} from "@medusajs/medusa/dist/types/global"
import * as cors from "cors"
import cors from "cors"
```
Next, in the exported function, retrieve the CORS configurations of your backend using the utility functions you imported: