changeset 1744:db52c29605e2

support svg
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 13 Nov 2022 19:26:41 -0700
parents 792268dce5ec
children f8950d99f47d
files src/goodjava/webserver/handlers/ContentTypeHandler.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r 792268dce5ec -r db52c29605e2 src/goodjava/webserver/handlers/ContentTypeHandler.java
--- a/src/goodjava/webserver/handlers/ContentTypeHandler.java	Wed Nov 09 18:33:09 2022 -0700
+++ b/src/goodjava/webserver/handlers/ContentTypeHandler.java	Sun Nov 13 19:26:41 2022 -0700
@@ -35,6 +35,7 @@
 		map.put( "woff", "font/woff" );
 		map.put( "doc", "application/msword" );
 		map.put( "docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document" );
+		map.put( "svg", "image/svg+xml" );
 		// add more as need
 	}