File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -153,9 +153,8 @@ export default defineNuxtConfig({
153
153
vueI18n : "./src/vue-i18n" ,
154
154
} ,
155
155
plausible : {
156
- logIgnoredEvents : true ,
156
+ logIgnoredEvents : ! isProd ,
157
157
trackLocalhost : ! isProdNotPlaywright && ! isTest ,
158
- // ignoredHostnames: isProdNotPlaywright ? [] : ["localhost"],
159
158
// This is the current domain of the site.
160
159
domain :
161
160
process . env . SITE_DOMAIN ??
Original file line number Diff line number Diff line change 5
5
handledClientSide ,
6
6
createError ,
7
7
useNuxtApp ,
8
+ showError ,
8
9
} from "#imports"
9
10
10
11
import { useMediaStore } from "~/stores/media"
@@ -51,7 +52,7 @@ export const searchMiddleware = defineNuxtRouteMiddleware(async (to) => {
51
52
52
53
const fetchingError = mediaStore . fetchState . fetchingError
53
54
if ( ! results . length && fetchingError && ! handledClientSide ( fetchingError ) ) {
54
- throw createError ( fetchingError )
55
+ showError ( createError ( fetchingError ) )
55
56
}
56
57
}
57
58
} )
You can’t perform that action at this time.
0 commit comments