Skip to content

Commit b1ee624

Browse files
authored
chore: revert ae6af87 and 50f9c68 (#797)
1 parent 50f9c68 commit b1ee624

3 files changed

Lines changed: 6 additions & 24 deletions

File tree

app/composables/useAtproto.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
import type { UserSession } from '#shared/schemas/userSession'
22

33
export function useAtproto() {
4-
if (import.meta.server) {
5-
return {
6-
user: ref(null),
7-
pending: ref(false),
8-
logout: async () => {},
9-
}
10-
}
11-
124
const { data: user, pending, clear } = useFetch<UserSession | null>('/api/auth/session')
135

146
async function logout() {

modules/production.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ export default defineNuxtConfig({
3939

4040
css: ['~/assets/main.css', 'vue-data-ui/style.css'],
4141

42+
$production: {
43+
debug: {
44+
hydration: true,
45+
},
46+
},
47+
4248
runtimeConfig: {
4349
sessionPassword: '',
4450
// Upstash Redis for distributed OAuth token refresh locking in production

0 commit comments

Comments
 (0)