modify nodejs example

This commit is contained in:
menshibin 2024-09-21 21:32:23 +08:00
parent 6256450acf
commit bbee8916ea
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
const taos = require("@tdengine/websocket");
let dsn = 'ws://127.0.0.1:6041';
let dsn = 'ws://localhost:6041';
async function json_tag_example() {
let wsSql = null;
try {

View File

@ -1,7 +1,7 @@
const taos = require("@tdengine/websocket");
let dsn = 'ws://127.0.0.1:6041';
let dsn = 'ws://localhost:6041';
async function json_tag_example() {
let wsSql = null;
try {