mirror of
				https://github.com/KevinMidboe/planetposen.git
				synced 2025-10-29 17:50:32 +00:00 
			
		
		
		
	Forgot to use newly declared url var.
This commit is contained in:
		@@ -33,7 +33,7 @@ export default {
 | 
			
		||||
    if (window.location.href.includes('localhost'))
 | 
			
		||||
      url = 'http://localhost:30010'.concat(url)
 | 
			
		||||
 | 
			
		||||
    fetch('http://localhost:30010/api/products')
 | 
			
		||||
    fetch(url)
 | 
			
		||||
      .then(resp => resp.json())
 | 
			
		||||
      .then(products => this.products = products)
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user