Permalink
Browse files

Use the page port and host by default for submodule requests

  • Loading branch information...
1 parent b104be7 commit 9c1eb2730faa4804b2daa42c4689d1ded895338c @marcuswestin committed Sep 6, 2011
Showing with 5 additions and 2 deletions.
  1. +3 −0 Changelog
  2. +2 −2 server.js
View
@@ -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
View
@@ -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) {

0 comments on commit 9c1eb27

Please sign in to comment.