Skip to content

Commit

Permalink
fix: augment #app rather than more complex subpath (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Nov 23, 2023
1 parent f56795b commit 4b4b7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/middleware/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type MiddlewareMeta = boolean | {
navigateUnauthenticatedTo?: string
}

declare module '#app/../pages/runtime/composables' {
declare module '#app' {
interface PageMeta {
auth?: MiddlewareMeta
}
Expand Down

0 comments on commit 4b4b7f0

Please sign in to comment.