Skip to content

Commit

Permalink
kcidb/cloud/issue-ed: run app from kcidb.issue_editor
Browse files Browse the repository at this point in the history
Signed-off-by: Jeny Sadadia <[email protected]>
  • Loading branch information
Jeny Sadadia authored and JenySadadia committed Oct 7, 2024
1 parent 331828e commit a123f15
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions kcidb/cloud/iss-ed
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
#!/usr/bin/env python3
"""Handle Issue Editor WebUI requests"""
# It's OK, pylint: disable=invalid-name

import os
from flask import Flask
#import kcidb.issue_editor

app = Flask(__name__)


@app.route("/")
def hello_world():
"""Example Hello World route."""
return "Hello, World!"

from kcidb.issue_editor import app

if __name__ == "__main__":
app.run(host="0.0.0.0", port=int(os.environ.get("PORT", 8080)))

0 comments on commit a123f15

Please sign in to comment.