HuggingChat Repo: Error: Not found: /chat

I made a copy of the huggingchat repo in my space on huggingface. I followed the instructions on the readme file exactly. Not sure if I am missing a /chat path in my space or the mongodb, but if I click enter after putting in a prompt I gett an errormessage - see picture.
Can it be I am missing the right base-path? if yes - where to change that?