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 committed Sep 18, 2024
1 parent 1a8c876 commit 70d8fbe
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.kcidb_triage_server import app

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

0 comments on commit 70d8fbe

Please sign in to comment.