Skip to content

Commit

Permalink
fix(mfo-server): validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed Nov 3, 2023
1 parent 15fe4c3 commit 74d27d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/website/Settings/WServer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const CHECK_VALID_SERVER_PATH = '/my-folder-online';
export default function WServer() {
const [server, setServer] = useState<string>(settings.webServer);
const [secure, setSecure] = useBoolean(settings.secure);
const [valid, setValid] = useBoolean(false);
const [valid, setValid] = useBoolean(true);

useAsyncEffect(async () => {
if (await checkWebServer(server, secure)) {
Expand Down

0 comments on commit 74d27d5

Please sign in to comment.