mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 08:42:08 +10:00
fix(mail.service): use sendgrid api instead of nodemailer for better deliverability
This commit is contained in:
@ -28,8 +28,6 @@ const App: React.FC<AppProps> = ({ Component, pageProps }) => {
|
||||
/>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="initial-scale=1, width=device-width" />
|
||||
|
||||
<script src="/__ENV.js" />
|
||||
</Head>
|
||||
|
||||
<ReduxProvider store={store}>
|
||||
|
||||
22
client/pages/_document.tsx
Normal file
22
client/pages/_document.tsx
Normal file
@ -0,0 +1,22 @@
|
||||
import { NextPage } from 'next';
|
||||
import NextDocument, { DocumentContext, Head, Html, Main, NextScript } from 'next/document';
|
||||
|
||||
const Document: NextPage = () => (
|
||||
<Html>
|
||||
<Head />
|
||||
<body>
|
||||
<Main />
|
||||
<NextScript />
|
||||
|
||||
<script src="/__ENV.js" />
|
||||
</body>
|
||||
</Html>
|
||||
);
|
||||
|
||||
Document.getInitialProps = async (ctx: DocumentContext) => {
|
||||
const initialProps = await NextDocument.getInitialProps(ctx);
|
||||
|
||||
return initialProps;
|
||||
};
|
||||
|
||||
export default Document;
|
||||
Reference in New Issue
Block a user