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

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