|
185bd80750
|
error50x made into universal error page. Also Error() handler was made that checks for cURL and Wget, and if find, then use built-in plaintext http.Error, and web.errorXXX otherwise.
|
2023-05-24 23:50:10 +04:00 |
|
|
a04adf7fa1
|
Replaced http.Error with 50x errors with web.Error50x().
|
2023-05-24 23:20:21 +04:00 |
|
|
931f98d12e
|
Made use of cmd arguments.
|
2023-05-24 22:19:41 +04:00 |
|
|
c85c6555e2
|
Log errors to stdout (systemd-journal) instead of a separate file. Also updated error messages. And since journal already puts a date, use only a Llongfile flag to print a place where an error occured.
|
2023-05-24 21:45:46 +04:00 |
|
|
88ec5e5efe
|
Added missing io.Writer in a call of web.Deleted.
|
2023-05-21 22:24:36 +04:00 |
|
|
33ec19647b
|
Reworked logging. Store all actions in one file.log.
|
2023-05-21 21:27:44 +04:00 |
|
|
c53dab9e6b
|
Oops, that site argument isn't needed.
|
2023-05-21 20:25:26 +04:00 |
|
|
15dd184106
|
Added deleted page to show if file was successfully deleted.
|
2023-05-21 20:21:41 +04:00 |
|
|
d7191d0fbd
|
Added /favicon.svg endpoint.
|
2023-05-21 20:13:15 +04:00 |
|
|
8497efd6e1
|
Changed error message in NotFound handler.
|
2023-05-13 16:30:13 +04:00 |
|
|
472ebf5891
|
Made NtFound and RobotsTxt handlers a standalone funcs.
|
2023-05-13 16:29:32 +04:00 |
|
|
8925f2ce24
|
Added robots.txt file and its handler.
|
2023-05-13 16:00:38 +04:00 |
|
|
d5aa919a37
|
Moved http server to internal.
|
2023-04-24 00:49:53 +04:00 |
|