Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
12f70a45
Commit
12f70a45
authored
Jul 05, 2022
by
Yoon, Daeki
😅
Browse files
웹팩 개발서버 프락시 설정
parent
a4a864f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/webpack.dev.js
View file @
12f70a45
...
...
@@ -6,5 +6,14 @@ const common = require("./webpack.common.js");
module
.
exports
=
merge
(
common
,
{
mode
:
"
development
"
,
devtool
:
"
eval-cheap-module-source-map
"
,
devServer
:
{
historyApiFallback
:
true
},
devServer
:
{
proxy
:
[
{
context
:
[
"
/api
"
],
target
:
"
http://localhost:3000
"
,
changeOrigin
:
true
,
},
],
historyApiFallback
:
true
,
},
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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