vbvbot9117 commited on
Commit
c2eda16
·
verified ·
1 Parent(s): dbd3aaf

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -2
templates/index.html CHANGED
@@ -141,7 +141,7 @@
141
  $('#videoInfo').addClass('hidden');
142
 
143
  $.ajax({
144
- url: '/api/ytdl/get-info',
145
  type: 'POST',
146
  contentType: 'application/json',
147
  data: JSON.stringify({ url: url }),
@@ -174,7 +174,7 @@
174
  showLoading('Preparing your download...');
175
 
176
  $.ajax({
177
- url: '/api/ytdldownload',
178
  type: 'POST',
179
  contentType: 'application/json',
180
  data: JSON.stringify({ url: url }),
 
141
  $('#videoInfo').addClass('hidden');
142
 
143
  $.ajax({
144
+ url: '/get-info',
145
  type: 'POST',
146
  contentType: 'application/json',
147
  data: JSON.stringify({ url: url }),
 
174
  showLoading('Preparing your download...');
175
 
176
  $.ajax({
177
+ url: '/download',
178
  type: 'POST',
179
  contentType: 'application/json',
180
  data: JSON.stringify({ url: url }),