Skip to content

Commit

Permalink
Fix paths on Linux and MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaia committed May 1, 2014
1 parent e84910a commit 6eeb1b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -73,7 +73,7 @@
keepalive: true,
middleware: function (connect, options) {
return [
require('./')(__dirname + '\\examples\\hello\\Connect.Owin.Examples.Hello.dll')
require('./')(__dirname + '/examples/hello/Connect.Owin.Examples.Hello.dll')
];
}
}
Expand Down
4 changes: 2 additions & 2 deletions lib/connect-owin.js
Expand Up @@ -2,13 +2,13 @@
urlParser = require('url');

var initialize = edge.func({
assemblyFile: process.env.CONNECT_OWIN_NATIVE || (__dirname + '\\clr\\Connect.Owin.dll'),
assemblyFile: process.env.CONNECT_OWIN_NATIVE || (__dirname + '/clr/Connect.Owin.dll'),
typeName: 'Connect.Owin.OwinMiddleware',
methodName: 'Initialize'
});

var handle = edge.func({
assemblyFile: process.env.CONNECT_OWIN_NATIVE || (__dirname + '\\clr\\Connect.Owin.dll'),
assemblyFile: process.env.CONNECT_OWIN_NATIVE || (__dirname + '/clr/Connect.Owin.dll'),
typeName: 'Connect.Owin.OwinMiddleware',
methodName: 'Handle'
});
Expand Down

0 comments on commit 6eeb1b4

Please sign in to comment.