Always show server address input on SplashScreen
In case the webUI wasn't hosted on the same domain as the server, the ui was stuck on the splash screen, due to the inferred server address being wrong.
This commit is contained in:
@@ -18,6 +18,7 @@ export const SplashScreen = () => {
|
|||||||
return (
|
return (
|
||||||
<Stack
|
<Stack
|
||||||
sx={{
|
sx={{
|
||||||
|
position: 'relative',
|
||||||
minWidth: '100vw',
|
minWidth: '100vw',
|
||||||
minHeight: '100vh',
|
minHeight: '100vh',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
@@ -39,11 +40,9 @@ export const SplashScreen = () => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{import.meta.env.DEV && (
|
<Stack sx={{ position: 'absolute', left: 0, bottom: 0 }}>
|
||||||
<Stack sx={{ height: 'auto', mt: 5 }}>
|
<ServerAddressSetting />
|
||||||
<ServerAddressSetting />
|
</Stack>
|
||||||
</Stack>
|
|
||||||
)}
|
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user