yoheinakajima / instagraph

Converts text input or URL into knowledge graph and displays
MIT License
3.47k stars 289 forks source link

restored error-message dialog #56

Closed isamu closed 1 year ago

isamu commented 1 year ago

The error-meesage div was removed in the bc3866ffec5c5f7dc186c55f718816ab036de2d7 commit. Since the error could no longer be displayed, I restored it.

Summary by CodeRabbit

coderabbitai[bot] commented 1 year ago

Walkthrough

The changes primarily involve a shift in the server port from 8080 to 8081 in main.py and the addition of an error message section in the index.html file. This error message is initially hidden and can be displayed when needed.

Changes

File Summary
main.py The server port has been changed from 8080 to 8081.
templates/index.html An error message section has been added. This section is initially hidden and includes a close button.

🐇💻

In the land of code, changes are afoot,

A new port is open, giving the old one the boot.

An error message hides, ready to show,

When things go awry, it's in the know.

So here's to the changes, may they serve you well,

In the grand scheme of code, only time will tell. 🎉🥕

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume. - Additionally, enter `@coderabbitai pause` to halt the bot's ongoing reviews as any issue or review comment. To resume reviews, enter `@coderabbitai resume` as any issue or review comment.