Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix yml and settings import

  • Loading branch information...
commit fd4efa9cbb2a925885e6fdc89234690655426273 1 parent 02127cf
Anatoliy Chakkaev authored
Showing with 6 additions and 6 deletions.
  1. +2 −2 index.js
  2. +4 −4 install.js
View
4 index.js
@@ -28,11 +28,11 @@ exports.init = function initTwitterConnect () {
_host = settings.url;
if (settings.callbackPath) {
- _callbackPath = callbackPath;
+ _callbackPath = settings.callbackPath;
}
if (settings.connectPath) {
- _connectPath = connectPath;
+ _connectPath = settings.connectPath;
}
}
railway.controller.addBasePath(__dirname + '/app/controllers', '', {
View
8 install.js
@@ -3,14 +3,14 @@ var config = [
' url: "http://1.lvh.me"',
' key: key',
' secret: secret',
- ' connectPath: /twitter_connect',
- ' callbackPath: /twitter_callback',
+ ' connectPath: "/twitter_connect"',
+ ' callbackPath: "/twitter_callback"',
'production:',
' url: "http://example.com"',
' key: key',
' secret: secret',
- ' connectPath: /twitter_connect',
- ' callbackPath: /twitter_callback'
+ ' connectPath: "/twitter_connect"',
+ ' callbackPath: "/twitter_callback"'
].join('\n');
var fs = require('fs');
Please sign in to comment.
Something went wrong with that request. Please try again.