Skip to content

Commit

Permalink
upd std
Browse files Browse the repository at this point in the history
  • Loading branch information
ridomin committed Dec 4, 2023
1 parent d015dd0 commit 3868c18
Show file tree
Hide file tree
Showing 4 changed files with 2,790 additions and 4,316 deletions.
29 changes: 29 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/universal
{
"name": "Default Linux Universal",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
"customizations": {
"vscode": {
"extensions": [
"standard.vscode-standard"
]
}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
4 changes: 2 additions & 2 deletions AzIoTHubClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ export class AzIoTHubClient {
}
this.client.connect({
useSSL: true,
userName: userName,
userName,
timeout: 120,
cleanSession: true,
invocationContext: {},
keepAliveInterval: 120,
willMessage: willMsg,
password: password,
password,
onSuccess: () => {
this.connected = true
console.log('Connected !!')
Expand Down
4 changes: 2 additions & 2 deletions app/AzIoTHubClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ export class AzIoTHubClient {
}
this.client.connect({
useSSL: true,
userName: userName,
userName,
timeout: 120,
cleanSession: true,
invocationContext: {},
keepAliveInterval: 120,
willMessage: willMsg,
password: password,
password,
onSuccess: () => {
this.connected = true
console.log('Connected !!')
Expand Down
Loading

0 comments on commit 3868c18

Please sign in to comment.