docs: fix code block titles (#5733)
* docs: fix code block titles * remove console * fix build error
This commit is contained in:
@@ -12,7 +12,7 @@ In your `medusa-config.js` , you should ensure that you've configured your CORS
|
||||
|
||||
The default configuration uses the following CORS settings:
|
||||
|
||||
```js title=medusa-config.js
|
||||
```js title="medusa-config.js"
|
||||
// CORS when consuming Medusa from admin
|
||||
const ADMIN_CORS = process.env.ADMIN_CORS ||
|
||||
"http://localhost:7000,http://localhost:7001"
|
||||
|
||||
@@ -24,4 +24,4 @@ As a last resort to resolve your issue, please try to clear your `npx` cache, as
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
If your issue persists, please try to search through [our GitHub issues](https://github.com/medusajs/medusa/issues) to see if there's a solution for your issue. If not, please [create an issue on GitHub](https://github.com/medusajs/medusa/issues/new?assignees=olivermrbl&labels=status:+needs+triaging,+type:+bug&template=bug_report.md&title=) and our team will help you resolve it soon.
|
||||
If your issue persists, please try to search through [our GitHub issues](https://github.com/medusajs/medusa/issues) to see if there's a solution for your issue. If not, please [create an issue on GitHub](https://github.com/medusajs/medusa/issues/new?assignees=olivermrbl&labels=status:+needs+triaging,+type:+bug&template=bug_report.md&title=") and our team will help you resolve it soon."
|
||||
|
||||
@@ -4,7 +4,7 @@ title: 'Payment Processor not showing in checkout'
|
||||
|
||||
You add payment processors to your Medusa instance by adding them as plugins in `medusa-config.js`:
|
||||
|
||||
```js title=medusa-config.js
|
||||
```js title="medusa-config.js"
|
||||
const plugins = [
|
||||
// ...
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ You can learn how to [install Redis in the Set Up your Development Environment d
|
||||
|
||||
After installing it, make sure to configure your Medusa backend to use Redis:
|
||||
|
||||
```jsx title=medusa-config.js
|
||||
```jsx title="medusa-config.js"
|
||||
module.exports = {
|
||||
projectConfig: {
|
||||
// ...
|
||||
|
||||
Reference in New Issue
Block a user