relax CORS on lnurlp (eg nostr browser clients)
This commit is contained in:
		
							parent
							
								
									ceac96e149
								
							
						
					
					
						commit
						8b6829df50
					
				@ -54,6 +54,12 @@ module.exports = withPlausibleProxy()({
 | 
				
			|||||||
        headers: [
 | 
					        headers: [
 | 
				
			||||||
          ...corsHeaders
 | 
					          ...corsHeaders
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        source: '/api/lnurlp/:slug*',
 | 
				
			||||||
 | 
					        headers: [
 | 
				
			||||||
 | 
					          ...corsHeaders
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user