mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	
							parent
							
								
									65524d84e6
								
							
						
					
					
						commit
						67b6ec3cb3
					
				
					 1 changed files with 1 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -78,14 +78,7 @@
 | 
			
		|||
		});
 | 
			
		||||
 | 
			
		||||
		this.fetch = () => {
 | 
			
		||||
			const headers = new Headers();
 | 
			
		||||
			headers.append('pragma', 'no-cache');
 | 
			
		||||
			headers.append('cache-control', 'no-cache');
 | 
			
		||||
 | 
			
		||||
			fetch(`https://api.rss2json.com/v1/api.json?rss_url=${this.url}`, {
 | 
			
		||||
				method: 'GET',
 | 
			
		||||
				headers
 | 
			
		||||
			}).then(res => {
 | 
			
		||||
			fetch(`https://api.rss2json.com/v1/api.json?rss_url=${this.url}`).then(res => {
 | 
			
		||||
				res.json().then(feed => {
 | 
			
		||||
					this.update({
 | 
			
		||||
						initializing: false,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue