From 0b3f5722c2a6306484a9eb3e0ca876b4893888c5 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sat, 25 Apr 2026 17:31:30 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20static=5Furl=5Fpath=20/nav/static=20?= =?UTF-8?q?=E2=80=94=20JS=20servi=20par=20cosma-nav=20pas=20cosma-qc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- viz/server.py | 2 +- viz/templates/map.html | 2 +- viz/templates/nav.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/viz/server.py b/viz/server.py index aae69af..a76de9e 100644 --- a/viz/server.py +++ b/viz/server.py @@ -6,7 +6,7 @@ import numpy as np import h5py from flask import Flask, jsonify, send_from_directory -app = Flask(__name__, static_folder="static") +app = Flask(__name__, static_folder="static", static_url_path="/nav/static") # Configured at startup _TRAJ_H5 = "data/trajectory_world.h5" diff --git a/viz/templates/map.html b/viz/templates/map.html index 98ab41a..c97fc04 100644 --- a/viz/templates/map.html +++ b/viz/templates/map.html @@ -31,6 +31,6 @@
Chargement...
- + diff --git a/viz/templates/nav.html b/viz/templates/nav.html index 4e6d325..4285842 100644 --- a/viz/templates/nav.html +++ b/viz/templates/nav.html @@ -31,6 +31,6 @@
- +