modify nodejs example
This commit is contained in:
parent
6256450acf
commit
bbee8916ea
|
@ -1,6 +1,6 @@
|
||||||
const taos = require("@tdengine/websocket");
|
const taos = require("@tdengine/websocket");
|
||||||
|
|
||||||
let dsn = 'ws://127.0.0.1:6041';
|
let dsn = 'ws://localhost:6041';
|
||||||
async function json_tag_example() {
|
async function json_tag_example() {
|
||||||
let wsSql = null;
|
let wsSql = null;
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const taos = require("@tdengine/websocket");
|
const taos = require("@tdengine/websocket");
|
||||||
|
|
||||||
|
|
||||||
let dsn = 'ws://127.0.0.1:6041';
|
let dsn = 'ws://localhost:6041';
|
||||||
async function json_tag_example() {
|
async function json_tag_example() {
|
||||||
let wsSql = null;
|
let wsSql = null;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue