fix: added server preconnect url improving the page load time (#10554)
fixes #10236
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
import { Helmet } from 'react-helmet-async';
|
||||
|
||||
export const ServerPreconnect = () => {
|
||||
return (
|
||||
<Helmet>
|
||||
<link
|
||||
rel="preconnect"
|
||||
href={process.env.REACT_APP_SERVER_BASE_URL || 'http://localhost:3000'}
|
||||
/>
|
||||
</Helmet>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user