Fixed share url.

This commit is contained in:
Mike Cao 2023-12-06 01:26:58 -08:00
parent 4fca98d25d
commit c8eb76c7af
3 changed files with 5 additions and 6 deletions

View file

@ -21,7 +21,7 @@ export default function SettingsLayout({ children }) {
const getKey = () => items.find(({ url }) => pathname === url)?.key;
if (cloudMode && pathname != '/settings/profile') {
if (cloudMode && pathname !== '/settings/profile') {
return null;
}
@ -29,7 +29,6 @@ export default function SettingsLayout({ children }) {
const config = {
settingsUrl: '/settings/websites',
hostUrl,
shareUrl: hostUrl,
trackingCodeUrl: hostUrl,
websitesUrl: `/websites`,