Change default server to iot.eclipse.org
This commit is contained in:
@@ -1,14 +1,23 @@
|
|||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
Typography, Toolbar, Modal,
|
Button,
|
||||||
MenuItem, Button, Grid, Paper,
|
|
||||||
TextField, Switch, FormControlLabel,
|
|
||||||
CircularProgress,
|
CircularProgress,
|
||||||
|
FormControlLabel,
|
||||||
|
Grid,
|
||||||
|
MenuItem,
|
||||||
|
Modal,
|
||||||
|
Paper,
|
||||||
|
Switch,
|
||||||
|
TextField,
|
||||||
|
Toolbar,
|
||||||
|
Typography,
|
||||||
} from '@material-ui/core'
|
} from '@material-ui/core'
|
||||||
import { withStyles, Theme, StyleRulesCallback } from '@material-ui/core/styles'
|
import { DataSourceState, MqttOptions } from '../../../../backend/src/DataSource'
|
||||||
import Notification from './Notification'
|
import { StyleRulesCallback, Theme, withStyles } from '@material-ui/core/styles'
|
||||||
import { MqttOptions, DataSourceState } from '../../../../backend/src/DataSource'
|
|
||||||
import { addMqttConnectionEvent, makeConnectionStateEvent, removeConnection, rendererEvents } from '../../../../events'
|
import { addMqttConnectionEvent, makeConnectionStateEvent, removeConnection, rendererEvents } from '../../../../events'
|
||||||
|
|
||||||
|
import Notification from './Notification'
|
||||||
import sha1 = require('sha1')
|
import sha1 = require('sha1')
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -53,7 +62,7 @@ class Connection extends React.Component<Props, State> {
|
|||||||
|
|
||||||
const defaultState = {
|
const defaultState = {
|
||||||
visible: true,
|
visible: true,
|
||||||
host: 'nodered',
|
host: 'iot.eclipse.org',
|
||||||
protocol: protocols[0],
|
protocol: protocols[0],
|
||||||
port: 1883,
|
port: 1883,
|
||||||
tls: false,
|
tls: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user