mirror of
				https://github.com/ZetaKebab/quartz.git
				synced 2025-11-03 22:49:47 +00:00 
			
		
		
		
	fix: server-handler crash from filename (closes #386)
This commit is contained in:
		@@ -462,6 +462,12 @@ See the [documentation](https://quartz.jzhao.xyz) for how to get started.
 | 
			
		||||
          await serveHandler(req, res, {
 | 
			
		||||
            public: argv.output,
 | 
			
		||||
            directoryListing: false,
 | 
			
		||||
            headers: [
 | 
			
		||||
              {
 | 
			
		||||
                source: "**/*.html",
 | 
			
		||||
                headers: [{ key: "Content-Disposition", value: "inline" }],
 | 
			
		||||
              },
 | 
			
		||||
            ],
 | 
			
		||||
          })
 | 
			
		||||
          const status = res.statusCode
 | 
			
		||||
          const statusString =
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user