node-http-server – Diff between revs 28 and 33

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 28 Rev 33
Line 38... Line 38...
38 /^.+\.ico$/, 38 /^.+\.ico$/,
39 /^.+\.woff$/, 39 /^.+\.woff$/,
40 /^.+\.woff2$/, 40 /^.+\.woff2$/,
41 /^.+\.map$/, 41 /^.+\.map$/,
42 /^.+\.ttf$/, 42 /^.+\.ttf$/,
43 /^.+\.svg$/ 43 /^.+\.svg$/,
-   44 /^.*\.md$/
44 ], 45 ],
45 // Any files matching these regular expressions will never be offered. 46 // Any files matching these regular expressions will never be offered.
46 reject: [ 47 reject: [
47 /^\.bashrc$/ 48 /^\.bashrc$/
48 ], 49 ],
49 // Simple re-writing capabilities. 50 // Simple re-writing capabilities.
50 rewrite: { 51 rewrite: {
51 'index.html' : /^\/doc\/(.+?)$/g 52 'index.html' : /^\/wiki\/(.+?)$/g
52 }, 53 },
53 // The name of the website. 54 // The name of the website.
54 name: 'Wizardry and Steamworks', 55 name: 'Wizardry and Steamworks',
55 }, 56 },
56 ssl: { 57 ssl: {