forked from sombochea/verdaccio-ui
fix: proxy webpack setting
- it allows download tarballls in the same origin - update webpack dev server - add scenario for blob
This commit is contained in:
@@ -32,7 +32,7 @@ new WebpackDevServer(compiler, {
|
||||
},
|
||||
proxy: [
|
||||
{
|
||||
context: ['/-/verdaccio/logo', '/-/verdaccio/packages', '/-/static/logo.png'],
|
||||
context: ['/-/verdaccio/**', '**/*.tgz'],
|
||||
target: 'http://localhost:8080',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -41,7 +41,7 @@ export default {
|
||||
scope: '',
|
||||
logo: 'https://verdaccio.org/img/logo/symbol/svg/verdaccio-tiny.svg',
|
||||
filename: 'index.html',
|
||||
verdaccioURL: '//localhost:8080',
|
||||
verdaccioURL: '//localhost:4872',
|
||||
template: `${env.SRC_ROOT}/template/index.html`,
|
||||
debug: true,
|
||||
inject: true,
|
||||
|
||||
Reference in New Issue
Block a user