Skip to content

Commit

Permalink
update bot wasm loading
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Nov 15, 2024
1 parent 25ff169 commit f75efcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pkg/app/gen/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ async function goappInitWebAssembly() {

function goappCanLoadWebAssembly() {
if (
/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent)
/bot|googlebot|crawler|spider|robot|crawling|adspeed/i.test(
navigator.userAgent
)
) {
return false;
}
Expand Down
Loading

0 comments on commit f75efcd

Please sign in to comment.