mirror of https://github.com/hunshcn/gh-proxy
				
				
				
			Update index.js
							parent
							
								
									9e4028c580
								
							
						
					
					
						commit
						ac3a87aa49
					
				
							
								
								
									
										2
									
								
								index.js
								
								
								
								
							
							
						
						
									
										2
									
								
								index.js
								
								
								
								
							| 
						 | 
				
			
			@ -3,7 +3,7 @@
 | 
			
		|||
/**
 | 
			
		||||
 * static files (404.html, sw.js, conf.js)
 | 
			
		||||
 */
 | 
			
		||||
const ASSET_URL = 'https://hunshcn.github.io/gh-proxy'
 | 
			
		||||
const ASSET_URL = 'https://hunshcn.github.io/gh-proxy/'
 | 
			
		||||
// 前缀,如果自定义路由为example.com/gh/*,将PREFIX改为 '/gh/',注意,少一个杠都会错!
 | 
			
		||||
const PREFIX = '/'
 | 
			
		||||
// git使用cnpmjs镜像、分支文件使用jsDelivr镜像的开关,0为关闭,默认开启
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue