You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds console disclaimer when running direct sql from the browser (#158)
Config example for websocket:
```javascript
neonConfig.disableWarningBrowser = false;
const pool = new Pool({ connectionString });
```
```javascript
const sql = neon(connectionString, {
disableWarningBrowser: true
});
```
<img width="1085" alt="image"
src="https://github.com/user-attachments/assets/af77e1a5-340e-4e80-8530-0a33b1292f5d"
/>
I guess for now this should be enough, we can document it later if
needed. This way is a good way to get some signal if there are a lot of
people disabling it
0 commit comments