summaryrefslogtreecommitdiff
path: root/bin/idp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/idp')
-rwxr-xr-xbin/idp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/idp b/bin/idp
index fc276bb..d568c60 100755
--- a/bin/idp
+++ b/bin/idp
@@ -320,5 +320,5 @@ if __FILE__ == $0
run IdentityProvider.new
end.to_app
- Rackup::Server.start(app: app, Port: 8282)
+ Rackup::Server.start(app: app, Port: ENV.fetch('PORT', 8282).to_i)
end