Skip to content

Commit fb574e2

Browse files
committed
404 Handler Update
1 parent 85219ef commit fb574e2

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## [1.0.2] 2023-01-19
4+
### Changes
5+
6+
- Update EmailJS Credentials
7+
38
## [1.0.1] 2023-01-14
49
### Changes
510

src/theme/NotFound.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,15 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
99
export default function NotFound() {
1010
const location = useLocation();
1111
const { siteConfig } = useDocusaurusContext();
12-
const serverId = process.env.EMAILJS_SERVER_ID;
12+
13+
const serverId = process.env.EMAILJS_SERVER_ID;
1314
const templateId = process.env.EMAILJS_TEMPLATE_ID;
14-
const publicKey = process.env.EMAILJS_PUBLIC_KEY;
15+
const publicKey = process.env.EMAILJS_PUBLIC_KEY;
16+
17+
//console.log('serverId:' + serverId );
18+
//console.log('templateId:' + templateId );
19+
//console.log('publicKey:' + publicKey );
20+
1521
useEffect(async () => {
1622
emailjs.send(serverId, templateId, { url: "https://docs.appseed.us" + location.pathname }, publicKey).then(
1723
function (response) {

0 commit comments

Comments
 (0)