Ashrafb commited on
Commit
02e0f45
·
verified ·
1 Parent(s): 98b125b

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +1 -1
static/index.html CHANGED
@@ -45,7 +45,7 @@
45
  });
46
  const data = await response.json();
47
  const outputPath = data.save_path;
48
- window.open(`http://localhost:8000/download/${outputPath}`, '_blank');
49
  } catch (error) {
50
  console.error('Error:', error);
51
  }
 
45
  });
46
  const data = await response.json();
47
  const outputPath = data.save_path;
48
+ window.open(`/download/${outputPath}`, '_blank');
49
  } catch (error) {
50
  console.error('Error:', error);
51
  }