krl 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/krl-connect +3 -2
- metadata +2 -2
data/bin/krl-connect
CHANGED
@@ -5,14 +5,15 @@ require "sinatra/base"
|
|
5
5
|
require "yaml"
|
6
6
|
require "kynetx_am_api"
|
7
7
|
|
8
|
-
|
8
|
+
CONFIG_FILE = ENV["HOME"] + "/.krl/credentials.yml"
|
9
9
|
class KRLConnect < Sinatra::Base
|
10
10
|
set :environment, :production
|
11
11
|
set :sessions, :false
|
12
12
|
set :logging, :false
|
13
13
|
set :port, 3009
|
14
|
+
set :views, Proc.new { File.join(File.dirname(__FILE__), "views") }
|
14
15
|
|
15
|
-
|
16
|
+
|
16
17
|
|
17
18
|
puts "#{"\n"*10}Go to the following url to authorize. Press ctrl+c when finished.\n http://localhost:3009#{"\n"*10}"
|
18
19
|
|