Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-web
ensembl-client
Commits
8dab6309
Commit
8dab6309
authored
Apr 30, 2021
by
Andrey Azov
Browse files
Undo the proxy setting in webpack dev config
parent
56237865
Pipeline
#152101
passed with stages
in 4 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
src/ensembl/webpack/environments/webpack.config.dev.js
src/ensembl/webpack/environments/webpack.config.dev.js
+1
-8
No files found.
src/ensembl/webpack/environments/webpack.config.dev.js
View file @
8dab6309
...
...
@@ -47,17 +47,10 @@ const devServerConfig = {
*/
proxy
:
[
{
context
:
[
'
/api/**
'
,
'
!/api/docs/**
'
],
context
:
[
'
/api/**
'
],
target
:
'
https://staging-2020.ensembl.org
'
,
changeOrigin
:
true
,
secure
:
false
},
{
context
:
[
'
/api/docs/**
'
],
target
:
'
http://localhost:3000
'
,
pathRewrite
:
{
'
^/api/docs
'
:
'
/api
'
},
changeOrigin
:
true
,
secure
:
false
}
],
...
...
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