add cors headers to /api/lnwith route (#359)
This commit is contained in:
		
							parent
							
								
									253d75b438
								
							
						
					
					
						commit
						9b57bbcda3
					
				@ -70,7 +70,13 @@ module.exports = withPlausibleProxy()({
 | 
				
			|||||||
        headers: [
 | 
					        headers: [
 | 
				
			||||||
          ...corsHeaders
 | 
					          ...corsHeaders
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
      }
 | 
					      },
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        source: '/api/lnwith',
 | 
				
			||||||
 | 
					        headers: [
 | 
				
			||||||
 | 
					          ...corsHeaders
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  async rewrites () {
 | 
					  async rewrites () {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user