commit
This commit is contained in:
+5
-2
@@ -188,6 +188,11 @@
|
|||||||
|
|
||||||
// read podcast list
|
// read podcast list
|
||||||
fetch('{{ assets_url }}/podcasts.txt').then(
|
fetch('{{ assets_url }}/podcasts.txt').then(
|
||||||
|
|
||||||
|
console.log('{{ assets_url }}');
|
||||||
|
console.log('{{ base_url }}');
|
||||||
|
console.log('{{ url }}');
|
||||||
|
|
||||||
function(response) {
|
function(response) {
|
||||||
if (response.status !== 200) {
|
if (response.status !== 200) {
|
||||||
console.log('Problem fetching podcast list. Status code: ' + response.status);
|
console.log('Problem fetching podcast list. Status code: ' + response.status);
|
||||||
@@ -195,8 +200,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
response.text().then(function(data) {
|
response.text().then(function(data) {
|
||||||
//console.log(data);
|
|
||||||
|
|
||||||
const podcastDiv = document.getElementById("podcast-list");
|
const podcastDiv = document.getElementById("podcast-list");
|
||||||
|
|
||||||
var lines = data.split('\n');
|
var lines = data.split('\n');
|
||||||
|
|||||||
Reference in New Issue
Block a user