1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

feat(radio-news): ask radio-news.r

This commit is contained in:
2022-05-25 17:05:19 +02:00
parent 3fa820a65a
commit bf35fb1020
3 changed files with 5 additions and 5 deletions

6
flake.lock generated
View File

@@ -158,11 +158,11 @@
"retiolum": {
"flake": false,
"locked": {
"lastModified": 1653077783,
"narHash": "sha256-GiL82w4BVSZZV5gIQSoEf+KoJaIkUv+29vZmmWlKb6I=",
"lastModified": 1653484169,
"narHash": "sha256-jb4DUq1+cdyLtvUP4T/B6uw9LaN+zFRdA8ViYv/fEic=",
"owner": "krebs",
"repo": "retiolum",
"rev": "1b5154c3ed9f3cb751afc3e306a1b20e3358ffe5",
"rev": "40c6e184cecaae4fe0b4973c6cb8027a66cccaae",
"type": "github"
},
"original": {

View File

@@ -47,7 +47,7 @@
}
</style>
<script>
const newsEndpoint = "http://prism.r:7999";
const newsEndpoint = "http://radio-news.r";
function isoString(date) {
return date.toISOString().slice(0, -5) + "Z";

View File

@@ -27,7 +27,7 @@ in {
${pkgs.git}/bin/git clone ${remote} "$stockholm"
${pkgs.git}/bin/git --git-dir "$stockholm"/.git log --pretty='"%s" by %an, %ar.' --since "$(${pkgs.coreutils}/bin/date -I -d "yesterday")" \
| ${pkgs.jq}/bin/jq -R '{text: ., from: now | todateiso8601, to: (now + (60 * 60)) | todateiso8601}' \
| ${pkgs.curl}/bin/curl -Ssfd @- http://prism.r:7999/
| ${pkgs.curl}/bin/curl -Ssfd @- http://radio-news.r/
'';
};
}