diff --git a/frontend/src/locale/en/translation.json b/frontend/src/locale/en/translation.json index 0914209..b642a8a 100644 --- a/frontend/src/locale/en/translation.json +++ b/frontend/src/locale/en/translation.json @@ -51,8 +51,7 @@ }, "http": { "header": "Web server configuration", - "server-port": "HTTP server port", - "server-port-note": "Note: You must restart strimertul after changing this!", + "server-bind": "HTTP server bind", "static-content": "Static content", "enable-static": "Enable static server", "static-root-path": "Static content root path" diff --git a/frontend/src/ui/pages/HTTP.tsx b/frontend/src/ui/pages/HTTP.tsx index 675202a..89bbd44 100644 --- a/frontend/src/ui/pages/HTTP.tsx +++ b/frontend/src/ui/pages/HTTP.tsx @@ -1,5 +1,5 @@ import { RouteComponentProps } from '@reach/router'; -import React from 'react'; +import React, { useEffect } from 'react'; import { useTranslation } from 'react-i18next'; import { useDispatch } from 'react-redux'; import { useModule } from '../../lib/react-utils'; @@ -20,7 +20,7 @@ export default function HTTPPage( <>
-
{t('http.server-port-note')}