We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e2220 commit 2640970Copy full SHA for 2640970
packages/backend/src/libs/endpoint.ts
@@ -1 +1 @@
1
-export const endpoint = "http://localhost:4566"
+export const endpoint = process.env.AWS_ENDPOINT_URL || '';
packages/frontend/src/components/HomeButton.tsx
@@ -1,8 +1,10 @@
import React from "react";
2
import { Button } from "react-bootstrap";
3
+import { BASE_URL } from "../config";
4
+
5
6
const HomeButton = () => (
- <Button href="/" variant="light" className="border border-secondary">
7
+ <Button href={BASE_URL} variant="light" className="border border-secondary">
8
< Home
9
</Button>
10
);
0 commit comments