Commit 94a1b633 authored by Jeong Arm's avatar Jeong Arm

Fix GIT_REV on dokku

parent 5b921c52
......@@ -7,7 +7,7 @@ db: relay.jsonld
# Listener
listen: 0.0.0.0
port: ${PORT:-8080}
port: ${PORT:-5000}
# Note
note: "Make a note about your instance here."
......
import os
import subprocess
import urllib.parse
......@@ -10,7 +11,7 @@ from .database import DATABASE
try:
commit_label = subprocess.check_output(["git", "rev-parse", "HEAD"]).strip().decode('ascii')
except:
commit_label = '???'
commit_label = os.environ.get('GIT_REV')
nodeinfo_template = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment