Even more reindenting

This commit is contained in:
root 2021-07-20 10:59:47 +05:30
parent 887690074d
commit d02641e802
No known key found for this signature in database
GPG key ID: BB51838571827D85
2 changed files with 34 additions and 33 deletions

View file

@ -25,24 +25,25 @@
</template> </template>
<script> <script>
import Navigation from "@/components/Navigation"; import Navigation from '@/components/Navigation'
export default { export default {
components: { components: {
Navigation, Navigation
}, },
mounted() { mounted () {
if (window.location.pathname === "/" || window.location.pathname.length == 0) if (window.location.pathname === '/' || window.location.pathname.length == 0) {
switch (this.getPreferenceString("homepage", "trending")) { switch (this.getPreferenceString('homepage', 'trending')) {
case "trending": case 'trending':
break; break
case "feed": case 'feed':
this.$router.push("/feed"); this.$router.push('/feed')
return; break
default: default:
break; break
} }
}, }
}; }
}
</script> </script>
<style> <style>

View file

@ -1,19 +1,19 @@
module.exports = { module.exports = {
pwa: { pwa: {
name: 'Piped', name: 'Piped',
themeColor: '#fa4b4b', themeColor: '#fa4b4b',
msTileColor: '#000000', msTileColor: '#000000',
appleMobileWebAppCapable: 'yes', appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black', appleMobileWebAppStatusBarStyle: 'black',
workboxPluginMode: 'GenerateSW', workboxPluginMode: 'GenerateSW',
workboxOptions: { workboxOptions: {
navigateFallback: 'index.html', navigateFallback: 'index.html',
skipWaiting: true, skipWaiting: true,
importWorkboxFrom: 'local', importWorkboxFrom: 'local',
runtimeCaching: [{ runtimeCaching: [{
urlPattern: /\.(?:png|svg|ico)$/, urlPattern: /\.(?:png|svg|ico)$/,
handler: 'CacheFirst', handler: 'CacheFirst'
}], }]
}
} }
}
} }