mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
Address issues with computeds on apiUrl and disable source maps
Source maps bloat up the dist folder which causes problems on IPFS
This commit is contained in:
@@ -82,7 +82,7 @@ const PrefsStore = {
|
||||
},
|
||||
|
||||
apiUrl (state, getters) {
|
||||
return getters.getPreference('instance', process.env.VUE_APP_PIPED_URL || 'https://pipedapi-libre.kavin.rocks')
|
||||
return state.prefs.instance ?? process.env.VUE_APP_PIPED_URL ?? 'https://pipedapi-libre.kavin.rocks'
|
||||
},
|
||||
|
||||
isEmbedded () {
|
||||
|
||||
@@ -39,5 +39,6 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
|
||||
productionSourceMap: false,
|
||||
lintOnSave: false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user