changeset 1423:2c06a7ff4173

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 19 Nov 2019 17:42:11 -0700
parents e48290f3d9fb
children 9ab267b9427c
files src/goodjava/webserver/handlers/ContentTypeHandler.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r e48290f3d9fb -r 2c06a7ff4173 src/goodjava/webserver/handlers/ContentTypeHandler.java
--- a/src/goodjava/webserver/handlers/ContentTypeHandler.java	Sun Nov 17 16:28:51 2019 -0700
+++ b/src/goodjava/webserver/handlers/ContentTypeHandler.java	Tue Nov 19 17:42:11 2019 -0700
@@ -30,6 +30,7 @@
 		map.put( "html", htmlType );
 		map.put( "txt", textType );
 		map.put( "css", "text/css" );
+		map.put( "js", "application/javascript" );
 		map.put( "mp4", "video/mp4" );
 		// add more as need
 	}