Skip to content

Commit

Permalink
Update app port to 8000
Browse files Browse the repository at this point in the history
- Changed the application port to 8000 in `README.md` documentation
- Updated the port configuration to 8000 in `main.py`
  • Loading branch information
Lenochxd committed Jul 22, 2024
1 parent 1068cb2 commit 8d8f43f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Welcome to the Toobo Weather API! This API provides friendly and cheerful weathe

## API Endpoint

The API can be accessed at: https://toobo.bishokus.fr
The API can be accessed at: https://toobo.bishokus.fr:8000

### Get Weather Resume

Expand All @@ -23,7 +23,7 @@ Query Parameters:

Example Request:
```
GET https://toobo.bishokus.fr/API/toobo?date=2024-07-22
GET https://toobo.bishokus.fr:8000/API/toobo?date=2024-07-22
```


Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ async def resume_weather(date: str = get_tomorrow_date()):
if __name__ == "__main__":
import uvicorn

uvicorn.run(app, host="0.0.0.0", port=80)
uvicorn.run(app, host="0.0.0.0", port=8000)

0 comments on commit 8d8f43f

Please sign in to comment.