forked from MapComplete/MapComplete
		
	Add schema.org to connect-sources
This commit is contained in:
		
							parent
							
								
									f89123d318
								
							
						
					
					
						commit
						49154e1809
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		|  | @ -334,6 +334,7 @@ async function generateCsp( | |||
|         } | ||||
|     } | ||||
| 
 | ||||
|     hosts.add("http://www.schema.org") // We add schema.org as it must be http, not https
 | ||||
|     if (hosts.has("*")) { | ||||
|         throw "* is not allowed as connect-src" | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue