Skip to content

Commit

Permalink
fix(build): compatibility with cloudflare page
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Oct 28, 2023
1 parent bec55d1 commit 1f62129
Show file tree
Hide file tree
Showing 6 changed files with 5,682 additions and 9,087 deletions.
10 changes: 6 additions & 4 deletions components/demo/Headers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@
import Companies from "../layout/Companies.vue";
onMounted(() => {
const script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js";
document.body.appendChild(script);
if (process.client) {
const script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js";
document.body.appendChild(script);
}
})
</script>
Expand Down
88 changes: 0 additions & 88 deletions components/layout/VueLottie.vue

This file was deleted.

Loading

0 comments on commit 1f62129

Please sign in to comment.