diff --git a/server/templates/index.html b/server/templates/index.html
index e5bd61d..518aa8d 100644
--- a/server/templates/index.html
+++ b/server/templates/index.html
@@ -64,7 +64,7 @@
// Function to populate the tube list
function populateTubeList() {
$.ajax({
- url: "{{ url_for('', filename='/get_tube_list')}}",
+ url: "{{ url_for('/get_tube_list', filename='')}}",
method: 'GET',
success: function (data) {
$('#tubeList').empty();