mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-21 17:05:22 +03:00
fix: return redirect for whatsapp user agent (#1753)
This commit is contained in:
parent
ef680ab8b3
commit
f73019c1fd
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import { sendRedirect } from 'h3'
|
||||
|
||||
const BOT_RE = /bot\b|index|spider|facebookexternalhit|crawl|wget|slurp|mediapartners-google/i
|
||||
const BOT_RE = /bot\b|index|spider|facebookexternalhit|crawl|wget|slurp|mediapartners-google|whatsapp/i
|
||||
|
||||
export default defineNuxtPlugin(async (nuxtApp) => {
|
||||
const route = useRoute()
|
||||
|
|
Loading…
Reference in a new issue