Skip to content

Commit

Permalink
Fixes for the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
zguesmi committed Nov 19, 2023
1 parent e8e9fab commit 3f96736
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion disaster-api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ async function bootstrap() {
res.header('Access-Control-Allow-Headers', 'Content-Type');
next();
});
await app.listen(8080);
await app.listen(8082);
}
bootstrap();
2 changes: 1 addition & 1 deletion proto-kit/apps/web/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";
import { Faucet } from "@/components/faucet";
import { Transfer } from "@/components/transfer";
// import { Transfer } from "@/components/transfer";
import { Button } from "@/components/ui/button";
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
import AsyncPageDynamic from "@/containers/async-page-dynamic";
Expand Down
2 changes: 1 addition & 1 deletion proto-kit/apps/web/containers/forms/formThree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default function FormThree({
// set up Publics Key
await setupPublicKeys();
//claim compensation
await claimCompensation();
// await claimCompensation();

// move to the next step
onNextStep();
Expand Down
2 changes: 1 addition & 1 deletion proto-kit/apps/web/containers/forms/formTwo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function FormTwo({
const handleNext = async () => {
setLoading(true);

const disasterEndpoint = `http://localhost:8080/disaster?userSessionId=${userId}`;
const disasterEndpoint = `http://localhost:8082/disaster?userSessionId=${userId}`;

try {
const response = await fetch(disasterEndpoint);
Expand Down

0 comments on commit 3f96736

Please sign in to comment.