I have simply copy pasted the default program from python for heroku;
import os
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello():
return 'Hello World!'
run(host='localhost', port=8080)
it returns an error "exited with status 0", which after research i have found out to mean "exitted succesfully". How do i fix this as the website is giving the error ". It returns no other traceback error.
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.