Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design2
/
2017110273
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2021-05-27 00:19:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ebe9d6a8318ccba041ec543f0bac88ad0d74175d
ebe9d6a8
1 parent
f2e9a7e2
create setupProxy.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
src/setupProxy.js
src/setupProxy.js
0 → 100644
View file @
ebe9d6a
1
+
const
{
createProxyMiddleware
}
=
require
(
'http-proxy-middleware'
)
2
+
3
+
module
.
exports
=
function
(
app
)
{
4
+
app
.
use
(
5
+
createProxyMiddleware
(
'/_search'
,
{
6
+
target
:
'http://localhost:9200'
7
+
})
8
+
)
9
+
}
Please
register
or
login
to post a comment