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

feat(graph.r): use correct center

This commit is contained in:
2023-06-23 15:42:49 +02:00
parent 1bbf54fcd8
commit 4584d92d05
2 changed files with 4 additions and 4 deletions

6
flake.lock generated
View File

@@ -424,11 +424,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1677160040, "lastModified": 1687504941,
"narHash": "sha256-UhyZaIZ88vN/7fiBcamfV77eHjQnL8zSVznaqxLgbhs=", "narHash": "sha256-wnCRcQn8izEHE8MfBpPkLezxAMIg7SVTq8CZsgkar54=",
"owner": "kmein", "owner": "kmein",
"repo": "tinc-graph", "repo": "tinc-graph",
"rev": "f705ca35e30ab0daf9cf52000e58931d7c5c42b5", "rev": "91a3a85beaaec4ec43ea5a41322c3a5a6e04edc4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -20,7 +20,7 @@ in {
script = '' script = ''
${tinc-graph}/bin/tinc-graph --geoip-file ${geo-ip-database-path} --network ${network} \ ${tinc-graph}/bin/tinc-graph --geoip-file ${geo-ip-database-path} --network ${network} \
| ${pkgs.coreutils}/bin/tee network.json \ | ${pkgs.coreutils}/bin/tee network.json \
| ${tinc-graph}/bin/tinc-statistics > statistics.json | ${tinc-graph}/bin/tinc-midpoint > midpoint.json
cp ${tinc-graph}/static/map.html map.html cp ${tinc-graph}/static/map.html map.html
cp ${tinc-graph}/static/map.html index.html cp ${tinc-graph}/static/map.html index.html