forked from MapComplete/MapComplete
		
	Feature: image upload now uses the indexedDB-backed queue (formerly known as EmergencyBackup), rework (and simplify) counter logic (fix #2186; fix #1942; helps #2022)
This commit is contained in:
		
							parent
							
								
									55c015ad84
								
							
						
					
					
						commit
						3d3a72a70a
					
				
					 19 changed files with 402 additions and 503 deletions
				
			
		|  | @ -426,7 +426,7 @@ class GenerateLayouts extends Script { | |||
|         const csp: Record<string, string> = { | ||||
|             "default-src": "'self'", | ||||
|             "child-src": "'self' blob: ", | ||||
|             "img-src": "* data:", // maplibre depends on 'data:' to load
 | ||||
|             "img-src": "* data: blob:", // maplibre depends on 'data:' to load; 'blob:' is needed
 | ||||
|             "report-to": "https://report.mapcomplete.org/csp", | ||||
|             "worker-src": "'self' blob:", // Vite somehow loads the worker via a 'blob'
 | ||||
|             "style-src": "'self' 'unsafe-inline'", // unsafe-inline is needed to change the default background pin colours
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue