Skip to content

Commit

Permalink
Use the page port and host by default for submodule requests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuswestin committed Sep 6, 2011
1 parent b104be7 commit 9c1eb27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
TODO
- write unit tests

intended v0.4.7
+ Remove default port and host - just use what the current page uses by default

v0.4.6
+ Add server.setOpts and server.handleRequest

Expand Down
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ function isRequireRequest(req) {
var opts = {
path: process.cwd(),
root: 'require',
port: 1234,
host: 'localhost'
port: null,
host: null
}

function setOpts(_opts) {
Expand Down

0 comments on commit 9c1eb27

Please sign in to comment.