mannaandpoem/simple_calculator

The calculator is unable to display properly on the front-end page after deployment because main page is not rendered

Opened this issue · 0 comments

When I run main.py under the calculator file, a message 'Running on http://127.0.0.1:5000' will appear on the console, but when I click on this link, the front-end web page cannot be displayed correctly.

Error message:
Not Found\nThe requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

127.0.0.1 - - [14/Mar/2024 10:06:25] "GET / HTTP/1.1" 404 -
127.0.0.1 - - [14/Mar/2024 10:06:26] "GET /favicon.ico HTTP/1.1" 404 -

I think the main page cannot load file simple_calculator/templates/index.html,can you help me deal with the error?