Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
14940501
Unverified
Commit
14940501
authored
4 years ago
by
Seokkitdo
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Shouldn't the const braces be removed to make it work properly?
It works fine after removing the braces.
parent
f92c37a6
github/fork/Seokkitdo/patch-1
1 merge request
!10622
Shouldn't the const braces be removed to make it work properly?
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docusaurus/docs/proxying-api-requests-in-development.md
+1
-1
docusaurus/docs/proxying-api-requests-in-development.md
with
1 addition
and
1 deletion
+1
-1
docusaurus/docs/proxying-api-requests-in-development.md
+
1
-
1
View file @
14940501
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets