diff --git a/web/public/config.js b/web/public/config.js index ed0637e..61f5ca0 100644 --- a/web/public/config.js +++ b/web/public/config.js @@ -6,7 +6,7 @@ // During web development, you may change values here for rapid testing. var config = { - base_url: "http://localhost:2586", // window.location.origin FIXME update before merging + base_url: "https://127-0-0-1.my.local-ip.co", // window.location.origin FIXME update before merging app_root: "/app", enable_login: true, enable_signup: true, diff --git a/web/src/components/Account.js b/web/src/components/Account.js index ffefe13..5282a21 100644 --- a/web/src/components/Account.js +++ b/web/src/components/Account.js @@ -529,10 +529,10 @@ const TokensTable = (props) => { {token.token === session.token() && {t("account_tokens_table_current_session")}} {token.token !== session.token() && (token.label || "-")} - + {token.expires ? formatShortDateTime(token.expires) : {t("account_tokens_table_never_expires")}} - +
{formatShortDateTime(token.last_access)} diff --git a/web/src/components/PublishDialog.js b/web/src/components/PublishDialog.js index 65dea5d..08646fc 100644 --- a/web/src/components/PublishDialog.js +++ b/web/src/components/PublishDialog.js @@ -17,15 +17,7 @@ import IconButton from "@mui/material/IconButton"; import InsertEmoticonIcon from '@mui/icons-material/InsertEmoticon'; import {Close} from "@mui/icons-material"; import MenuItem from "@mui/material/MenuItem"; -import { - formatBytes, - maybeWithAuth, - withBasicAuth, - topicShortUrl, - topicUrl, - validTopic, - validUrl -} from "../app/utils"; +import {formatBytes, maybeWithAuth, topicShortUrl, topicUrl, validTopic, validUrl} from "../app/utils"; import Box from "@mui/material/Box"; import AttachmentIcon from "./AttachmentIcon"; import DialogFooter from "./DialogFooter";