about summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorAurelia <aurelia@schittler.dev>2020-08-29 19:00:30 +0200
committerGitHub <noreply@github.com>2020-08-29 19:00:30 +0200
commit8630afb468baf1ae654116784c3a636213e98bae (patch)
treefc4505dc2dc6f0a7f01f68c03b97672420f3ca4c /bin
parent64ef37b89de806f49cc59e011aa0ee2039c82c46 (diff)
fix: make Procfile compatible with herokuish (#12685)
Co-authored-by: Aurelia <aurelia@serenitylabs.cloud>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/heroku-web2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/heroku-web b/bin/heroku-web
new file mode 100755
index 000000000..219ef35b9
--- /dev/null
+++ b/bin/heroku-web
@@ -0,0 +1,2 @@
+#!/bin/bash
+if [ "$RUN_STREAMING" != "true" ]; then BIND=0.0.0.0 bundle exec puma -C config/puma.rb; else BIND=0.0.0.0 node ./streaming; fi
\ No newline at end of file