From 7c3b78b8a0eee667c7192c2532d66e5acbe8f5c3 Mon Sep 17 00:00:00 2001 From: James Teasley Date: Sat, 13 Apr 2024 00:10:32 -0400 Subject: [PATCH] Fixed the issue by adding the .env_template and .env file --- challenge/.env | 4 ++++ challenge/.env.template | 4 ++++ challenge/contracts/algorand-puzzle-2.algo.ts | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 challenge/.env create mode 100644 challenge/.env.template diff --git a/challenge/.env b/challenge/.env new file mode 100644 index 0000000..991da78 --- /dev/null +++ b/challenge/.env @@ -0,0 +1,4 @@ +SERVER_URL=http://localhost:4001 +# This is a mandatory field to run the server, please enter a value +# For example: 5000 +SERVER_PORT=4000 \ No newline at end of file diff --git a/challenge/.env.template b/challenge/.env.template new file mode 100644 index 0000000..f873e3f --- /dev/null +++ b/challenge/.env.template @@ -0,0 +1,4 @@ +SERVER_URL= +# This is a mandatory field to run the server, please enter a value +# For example: 5000 +SERVER_PORT= \ No newline at end of file diff --git a/challenge/contracts/algorand-puzzle-2.algo.ts b/challenge/contracts/algorand-puzzle-2.algo.ts index 2ac3b38..9cb1a4c 100644 --- a/challenge/contracts/algorand-puzzle-2.algo.ts +++ b/challenge/contracts/algorand-puzzle-2.algo.ts @@ -5,6 +5,6 @@ import { Contract } from '@algorandfoundation/tealscript'; // eslint-disable-next-line no-unused-vars class AlgorandPuzzle2 extends Contract { solveThePuzzle(): string { - // return 'You solved the puzzle!'; + return 'You solved the puzzle!'; } }