Library sync OsmAnd-style: brick is the server, a client (the car's maptool, SYNC_SERVER_URL) syncs on its Sync button — pulls the server's rows, pushes its own with the source files the server lacks, newer updated_at wins; /api/sync/* guarded by SYNC_TOKEN (written into brick's .env by CI). TRUSTED_NETWORKS logs in the car's LAN (no Gitea offline); TAKEOUT_HOST_DIR for a server without the Takeout; bin/pull-maps.sh pulls map data one way while at home
This commit is contained in:
1 parent
850a5946ad
commit
dbe742321a
13 files changed
+460
-5
No files matched your search
+1
-1
@@ -58,7 +58,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="gpx-panel" class="gpx-panel" hidden>
|
||||
<div id="gpx-panel" class="gpx-panel" hidden<%= " data-sync-client" if sync_client %>>
|
||||
<div class="gpx-panel__header">
|
||||
<strong>Tracks & Points</strong>
|
||||
<div class="gpx-panel__actions">
|
||||
|
||||
Reference in new issue
Block a user