diff --git a/server/CLIent.py b/server/CLIent.py index 3d4f8da..66c4c41 100644 --- a/server/CLIent.py +++ b/server/CLIent.py @@ -2,7 +2,6 @@ import requests from typing import Union SERVER = 'http://127.0.0.1:5000/' -FETCH_PATH = 'api/fetch/' INSTRUCTIONS = [ '---- Instructions ----', @@ -83,7 +82,7 @@ def validate_answer(answers:list, question:dict) -> bool: def render_questions() -> dict: answers = [] try: - questions = requests.get(url=f'{SERVER}{FETCH_PATH}questions/').json() + questions = requests.get(url=f'{SERVER}/api/questions/').json() except Exception as exception: print(exception) quit()