From a4be77425eee057de771b24d2272bd69c1fae62c Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 31 Aug 2023 21:24:36 +0400 Subject: [PATCH] Use GitHub admonition for browser support warning (#1997) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9281aefc8..37e78a387 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,8 @@ npm install @elastic/elasticsearch@ #### Browser -WARNING: There is no official support for the browser environment. It exposes your Elasticsearch instance to everyone, which could lead to security issues. +> [!WARNING] +> There is no official support for the browser environment. It exposes your Elasticsearch instance to everyone, which could lead to security issues. We recommend that you write a lightweight proxy that uses this client instead, you can see a proxy example [here](./docs/examples/proxy). ## Documentation