Skip to content

Commit

Permalink
More accurate ETag for Markdown pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ethantw committed Dec 10, 2014
1 parent 6b684fa commit 948acc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ http.createServer( function ( req, res ) {
.replace( /\{\{han\-version\}\}/gi, LANG['han-version'] )

if ( mdfilename ) {
etag = getETag( mdfilename )
etag += getETag( mdfilename )

fs.readFile( mdfilename, 'utf8', function( err, mdcode ) {
var md2html
Expand Down

0 comments on commit 948acc5

Please sign in to comment.