Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김건희
/
OSSW_Weather_Briefing
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
김건희
2022-05-22 18:59:22 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0ac6cf61d410487b5c92e73bc61c8385cf2b2100
0ac6cf61
1 parent
ec93f830
[Add] Proxy Setting
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
weather_briefing/src/setupProxy.js
weather_briefing/src/setupProxy.js
0 → 100644
View file @
0ac6cf6
const
{
createProxyMiddleware
}
=
require
(
"http-proxy-middleware"
);
module
.
exports
=
function
(
app
)
{
app
.
use
(
createProxyMiddleware
(
'/'
,
{
target
:
'http://localhost:4000'
,
//접속하려는 서버의 루트 URL
changeOrigin
:
true
})
);
};
\ No newline at end of file
Please
register
or
login
to post a comment