Merge branch 'master' into 266-zaps-without-account
This commit is contained in:
		
						commit
						a0974e4d6c
					
				| @ -44,7 +44,7 @@ export default function UserList ({ ssrData, query, variables, destructureData } | |||||||
|   useEffect(() => { |   useEffect(() => { | ||||||
|     // shift the stat we are sorting by to the front
 |     // shift the stat we are sorting by to the front
 | ||||||
|     const comps = [...STAT_COMPONENTS] |     const comps = [...STAT_COMPONENTS] | ||||||
|     setStatComps(seperate([...comps.splice(STAT_POS[variables.by || 0], 1), ...comps], Seperator)) |     setStatComps(seperate([...comps.splice(STAT_POS[variables?.by || 0], 1), ...comps], Seperator)) | ||||||
|   }, [variables?.by]) |   }, [variables?.by]) | ||||||
| 
 | 
 | ||||||
|   const { users, cursor } = useMemo(() => { |   const { users, cursor } = useMemo(() => { | ||||||
|  | |||||||
| @ -46,6 +46,15 @@ module.exports = withPlausibleProxy()({ | |||||||
|           ...corsHeaders |           ...corsHeaders | ||||||
|         ] |         ] | ||||||
|       }, |       }, | ||||||
|  |       // never cache service worker
 | ||||||
|  |       // https://stackoverflow.com/questions/38843970/service-worker-javascript-update-frequency-every-24-hours/38854905#38854905
 | ||||||
|  |       { | ||||||
|  |         source: '/sw.js', | ||||||
|  |         headers: [{ | ||||||
|  |           key: 'Cache-Control', | ||||||
|  |           value: 'no-cache' | ||||||
|  |         }] | ||||||
|  |       }, | ||||||
|       { |       { | ||||||
|         source: '/api/lnauth', |         source: '/api/lnauth', | ||||||
|         headers: [ |         headers: [ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user