diff --git a/pages/stories/summary.vue b/pages/stories/summary.vue index 9a739e10..7936394f 100644 --- a/pages/stories/summary.vue +++ b/pages/stories/summary.vue @@ -7,10 +7,12 @@

Stories from Freeglers

This page lets you search through stories.

- + + + @@ -46,8 +48,13 @@ const stories = computed(() => { }) onMounted(() => { - let scr = document.createElement('script') - scr.setAttribute('src', 'https://cse.google.com/cse.js?cx=424a23761185040ff') - window.document.head.appendChild(scr) + if (process.client) { + const scr = document.createElement('script') + scr.setAttribute( + 'src', + 'https://cse.google.com/cse.js?cx=424a23761185040ff' + ) + window.document.head.appendChild(scr) + } })