From 149405015cf85bca06c62b924281298c5e618126 Mon Sep 17 00:00:00 2001 From: Seokkitdo <39605922+Seokkitdo@users.noreply.github.com> Date: Sun, 28 Feb 2021 20:20:02 +0900 Subject: [PATCH] Shouldn't the const braces be removed to make it work properly? It works fine after removing the braces. --- docusaurus/docs/proxying-api-requests-in-development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/proxying-api-requests-in-development.md b/docusaurus/docs/proxying-api-requests-in-development.md index 66563e25e45..b448bd05c21 100644 --- a/docusaurus/docs/proxying-api-requests-in-development.md +++ b/docusaurus/docs/proxying-api-requests-in-development.md @@ -95,7 +95,7 @@ module.exports = function(app) { You can now register proxies as you wish! Here's an example using the above `http-proxy-middleware`: ```js -const { createProxyMiddleware } = require('http-proxy-middleware'); +const createProxyMiddleware = require('http-proxy-middleware'); module.exports = function(app) { app.use(