| 
									
										
										
										
											2021-02-01 17:13:09 +08:00
										 |  |  | declare let __webpack_public_path__: string; | 
					
						
							| 
									
										
										
										
											2021-04-26 17:38:24 +08:00
										 |  |  | declare let __webpack_nonce__: string; | 
					
						
							| 
									
										
										
										
											2021-02-01 17:13:09 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * Check if we are hosting files on cdn and set webpack public path | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | if ((window as any).public_cdn_path) { | 
					
						
							|  |  |  |   __webpack_public_path__ = (window as any).public_cdn_path; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2019-12-05 15:30:39 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-26 02:17:35 +08:00
										 |  |  | // This is a path to the public folder without '/build'
 | 
					
						
							|  |  |  | (window as any).__grafana_public_path__ = | 
					
						
							|  |  |  |   __webpack_public_path__.substring(0, __webpack_public_path__.lastIndexOf('build/')) || __webpack_public_path__; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-26 17:38:24 +08:00
										 |  |  | if ((window as any).nonce) { | 
					
						
							|  |  |  |   __webpack_nonce__ = (window as any).nonce; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-02-01 17:13:09 +08:00
										 |  |  | import app from './app'; | 
					
						
							| 
									
										
										
										
											2017-10-02 02:02:25 +08:00
										 |  |  | app.init(); |