Showing IP address of client when page is opened and when file received
- Vorherrschende Sprache
- Python
- Sterne
- 33
- Forks
- 15
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Objective -
Showing the IP address of the Client who opened the page and showing IP of the client who uploaded the file after upload received.
Prototype message want:-
- when opened.
Someone at xxx.xx.xxx.xxx has opened your page.
- when received.
File received from xxx.xx.xxx.xxx .
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
The issue is about adding IP address logging to a Flask-based file-sharing CLI. Look at the Flask app's request handling, likely in the main server file, to capture the client's IP when a page is accessed and when a file is uploaded. The IP can be obtained from request.remote_addr. Add log messages or display them in the console as specified. Check existing routes for file upload and page serving to see where to insert the logging.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- flask, python
- Bereich
- backend, cli
- Issue-Typ
- Feature
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 55/100