diff --git a/templates/object.html b/templates/object.html
index e3fc765..97baeac 100644
--- a/templates/object.html
+++ b/templates/object.html
@@ -57,7 +57,7 @@
Étalonner le scanner
-
+
@@ -96,9 +96,9 @@
});
document.getElementById('use-last-calibration-button').addEventListener('click', async () => {
- let resp = await fetch('/api/use-last-calibration');
+ let resp = await fetch('/calibration/use-last');
await resp.text();
- window.location.href = '/scan/{{ object.id }}';
+ window.location.href = '/acquisition/scan/{{ object.id }}';
});
(document.querySelectorAll('.modal-background, .modal-close, .custom-modal-close, .modal-card-head .delete, .modal-card-foot .button') || []).forEach((close) => {