Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix client side generation with firebase

Acho Arnoldd181e6bde9c9
diff --git a/web/firebase.json b/web/firebase.json
index 6564edd5..0a3d84e3 100644
--- a/web/firebase.json
+++ b/web/firebase.json
@@ -5,7 +5,7 @@
"rewrites": [
{
"source": "**",
- "destination": "/index.html"
+ "destination": "/200.html"
}
]
}
diff --git a/web/layouts/default.vue b/web/layouts/default.vue
index cee8ece5..c72c2aad 100644
--- a/web/layouts/default.vue
+++ b/web/layouts/default.vue
@@ -20,10 +20,8 @@
</v-navigation-drawer>
<v-main :class="{ 'has-drawer': hasDrawer && $vuetify.breakpoint.lgAndUp }">
<toast></toast>
- <client-only>
- <Nuxt v-if="$store.getters.authStateChanged" />
- <loading-dashboard v-else></loading-dashboard>
- </client-only>
+ <Nuxt v-if="$store.getters.authStateChanged" />
+ <loading-dashboard v-else></loading-dashboard>
</v-main>
</v-app>
</template>
diff --git a/web/pages/router.vue b/web/pages/router.vue
new file mode 100644
index 00000000..4fb3f76e
--- /dev/null
+++ b/web/pages/router.vue
@@ -0,0 +1,24 @@
+<template>
+ <v-container fluid fill-height>
+ <v-progress-circular
+ indeterminate
+ size="160"
+ class="mt-8 mx-auto"
+ color="primary"
+ ></v-progress-circular>
+ </v-container>
+</template>
+
+<script lang="ts">
+import Vue from 'vue'
+
+export default Vue.extend({
+ name: 'Router',
+ mounted() {
+ console.log('routing to new page', this.$route.path)
+ this.$router.push({
+ path: this.$route.path,
+ })
+ },
+})
+</script>
diff --git a/web/pages/threads/_id.vue b/web/pages/threads/_id/index.vue
similarity index 100%
rename from web/pages/threads/_id.vue
rename to web/pages/threads/_id/index.vue