diff --git a/src/store/prefs-store.js b/src/store/prefs-store.js index cd1d396..f6dfb06 100644 --- a/src/store/prefs-store.js +++ b/src/store/prefs-store.js @@ -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 () { diff --git a/vue.config.js b/vue.config.js index fd02058..2a680b5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -39,5 +39,6 @@ module.exports = { } }, + productionSourceMap: false, lintOnSave: false }