|
0244f6afd5
|
A unified ServeAsset() func was introduced. AssetsGetFile() now will panic if a file doesn't exists, because it must not be the case.
|
2024-04-20 18:54:05 +04:00 |
|
|
0d8032da46
|
MostListenedSong was rewritten.
|
2023-10-08 00:52:40 +04:00 |
|
|
0519bc979c
|
Status() and LastSong() handlers was removed from main handlers.
|
2023-10-02 03:20:48 +04:00 |
|
|
978b4c6454
|
Removed unused error returning (error is always nil).
|
2023-09-14 17:59:14 +04:00 |
|
|
a6f92b56da
|
Reorganised Handlers struct fields.
|
2023-09-14 17:58:35 +04:00 |
|
|
eccf0ff4e9
|
Removed unused const FormatISO8601.
|
2023-09-14 17:51:15 +04:00 |
|
|
9ac60e9f28
|
Don't show server start date and time on a page.
|
2023-08-21 18:30:21 +04:00 |
|
|
a1bf9cf30a
|
Use flags instead of config file. Also replaced HttpServer with a new code.
|
2023-08-06 03:17:18 +04:00 |
|
|
877b5d4013
|
Playlist file renamed to playlist.m3u.
|
2023-07-22 22:58:42 +04:00 |
|
|
cac5751ede
|
Removed AssetsFS() since it is not needed anymore.
|
2023-05-27 00:36:03 +04:00 |
|
|
47bc1a8e02
|
Added sitemap.xml.
|
2023-05-21 22:44:09 +04:00 |
|
|
2987cf4a2a
|
Moved RobotsTxt handler out of Handlers struct.
|
2023-05-21 22:42:17 +04:00 |
|
|
ca4391784a
|
Added /favicon.svg endpoint.
|
2023-05-21 22:35:37 +04:00 |
|
|
95e9d97a22
|
Updated web.Index() call in a handler.
|
2023-03-13 02:12:02 +04:00 |
|
|
6d4a276dd8
|
IcecastLastSongs() (formerly known as IcecastLastPlayedSongs()) args were changed, so let's delete unneeded arg.
|
2023-03-12 21:32:29 +04:00 |
|
|
83cdc222c7
|
Change arav.top to arav.su.
|
2023-02-23 17:49:01 +04:00 |
|
|
edfcb9526b
|
Fixed MIME type to text/html.
|
2023-02-19 22:26:25 +04:00 |
|
|
77183bb14e
|
Added Content-Type header for filelist.
|
2023-02-19 21:41:58 +04:00 |
|
|
aa0d818488
|
Added robots.txt endpoint.
|
2023-02-19 21:22:56 +04:00 |
|
|
182a4c02c9
|
Added reading of filelist.html file from disk.
|
2023-02-19 21:18:36 +04:00 |
|
|
6d26d695ec
|
Pass ListLastNSongs to an Index template in handlers.go.
|
2023-02-07 02:46:10 +04:00 |
|
|
7c5e1465af
|
handlers moved to internal/http. Logging changed to std log. Type RadioHandlers renamed to Handlers.
|
2023-02-07 02:27:30 +04:00 |
|