Skip to content

Commit 2640970

Browse files
committed
add aws_endpoint_url to lambda env vars
1 parent b9e2220 commit 2640970

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const endpoint = "http://localhost:4566"
1+
export const endpoint = process.env.AWS_ENDPOINT_URL || '';

packages/frontend/src/components/HomeButton.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import React from "react";
22
import { Button } from "react-bootstrap";
3+
import { BASE_URL } from "../config";
4+
35

46
const HomeButton = () => (
5-
<Button href="/" variant="light" className="border border-secondary">
7+
<Button href={BASE_URL} variant="light" className="border border-secondary">
68
&lt; Home
79
</Button>
810
);

0 commit comments

Comments
 (0)