diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-06 11:37:01 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-06 11:37:01 -0700 |
| commit | bad76558aca0719db95f5572c7847fd971051186 (patch) | |
| tree | ac04873ec207edead082cdf8dc4e304c4cde9ad0 /bin/idp | |
| parent | 27e5b886ad9e9e4c0d831162dbae9d9025fb2903 (diff) | |
refactor: move protobuf rpc services to lib/authx/rpc
Diffstat (limited to 'bin/idp')
| -rwxr-xr-x | bin/idp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -13,6 +13,11 @@ gemfile do gem "webrick", "~> 1.0" end +lib_path = Pathname.new(__FILE__).parent.parent.join('lib').realpath.to_s +$LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path) + +require 'authx' + $scheme = ENV.fetch("SCHEME", "http") $port = ENV.fetch("PORT", 8282).to_i $host = ENV.fetch("HOST", "localhost:#{$port}") |
