Skip to content

Loading…

Custom ServerInfo #67

Closed
wants to merge 1 commit into from

2 participants

@michaelwittig

In case you do not want to show the server version to the public.

@phstc
Collaborator

hey @michaelwittig, tks!

I already changed and accepted your previous PR #66.

:metal:

@phstc phstc closed this
@michaelwittig

oh cool. thx. didn't get it:)
thx for the module!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 16, 2012
  1. @michaelwittig

    fixed bug in serverInfo

    michaelwittig committed
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/node-static.js
View
2 lib/node-static.js
@@ -34,7 +34,7 @@ this.Server = function (root, options) {
if ('serverInfo' in this.options) {
this.serverInfo = this.options.serverInfo.toString();
} else {
- this.serverInfo = 'node-static/' + this.version.join('.');
+ this.serverInfo = 'node-static/' + exports.version.join('.');
}
if (this.cache !== false) {
Something went wrong with that request. Please try again.