fix: remove favicon
This commit is contained in:
		@@ -20,6 +20,8 @@ const fileStore = useFileStore('upload');
 | 
			
		||||
const noProxyUrl = ['/', '/favicon.ico'];
 | 
			
		||||
export const handleRequest = async (req: http.IncomingMessage, res: http.ServerResponse) => {
 | 
			
		||||
  if (req.url === '/favicon.ico') {
 | 
			
		||||
    res.writeHead(200, { 'Content-Type': 'text/html' });
 | 
			
		||||
    res.write('proxy no favicon.ico\n');
 | 
			
		||||
    return;
 | 
			
		||||
  }
 | 
			
		||||
  if (req.url.startsWith('/api/router')) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user