mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
forbid small assets to be encoded as base64 (fix pacman not present in build)
This commit is contained in:
parent
5f1ae01222
commit
66e2742c94
2 changed files with 8 additions and 1 deletions
|
@ -58,7 +58,7 @@ export default {
|
||||||
async fetch (method, uri, data = {}, { wait = true, websocket = true, initial = false, asFormData = false } = {}) {
|
async fetch (method, uri, data = {}, { wait = true, websocket = true, initial = false, asFormData = false } = {}) {
|
||||||
// `await` because Vuex actions returns promises by default.
|
// `await` because Vuex actions returns promises by default.
|
||||||
const request = await store.dispatch('INIT_REQUEST', { method, uri, initial, wait, websocket })
|
const request = await store.dispatch('INIT_REQUEST', { method, uri, initial, wait, websocket })
|
||||||
console.log(JSON.parse(JSON.stringify(request)), data)
|
|
||||||
if (websocket) {
|
if (websocket) {
|
||||||
await openWebSocket(request)
|
await openWebSocket(request)
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,13 @@ module.exports = {
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
chainWebpack: config => {
|
||||||
|
config.module
|
||||||
|
.rule('images')
|
||||||
|
.use('url-loader')
|
||||||
|
.loader('url-loader')
|
||||||
|
.tap(options => Object.assign(options, { limit: 0 }))
|
||||||
|
},
|
||||||
pluginOptions: {
|
pluginOptions: {
|
||||||
i18n: {
|
i18n: {
|
||||||
locale: 'en',
|
locale: 'en',
|
||||||
|
|
Loading…
Add table
Reference in a new issue