mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
add dev-server proxy to yunohost/api
This commit is contained in:
parent
d6c7d9abf3
commit
665b661a2b
1 changed files with 7 additions and 0 deletions
|
@ -6,5 +6,12 @@ module.exports = {
|
||||||
localeDir: 'locales',
|
localeDir: 'locales',
|
||||||
enableInSFC: false
|
enableInSFC: false
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
devServer: {
|
||||||
|
proxy: {
|
||||||
|
'^/api': {
|
||||||
|
target: process.env.API_URL,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue