Skip to content

Commit c26b025

Browse files
Dao NgocDao Ngoc
authored andcommitted
Add note about updating src/main/resources/META-INF/mime.types
1 parent 9bc375a commit c26b025

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

dev/README.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Use SBT 0.13.0 to compile. See project/build.properties.
22

3-
How to update Swagger UI
4-
------------------------
3+
Update Swagger UI
4+
-----------------
55

66
See:
77

@@ -29,6 +29,17 @@ src/main/resources/public/xitrum as swagger-ui. Then replace
2929
return '/xitrum/swagger.json';
3030
}
3131

32+
Update src/main/resources/META-INF/mime.types
33+
---------------------------------------------
34+
35+
This file is for determining content types for static files.
36+
37+
See:
38+
39+
* https://github.com/klacke/yaws/blob/master/priv/mime.types
40+
* http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
41+
* http://download.oracle.com/javaee/5/api/javax/activation/MimetypesFileTypeMap.html
42+
3243
Debug client-server data receiving and sending
3344
----------------------------------------------
3445

0 commit comments

Comments
 (0)