Rename first application.

This commit is contained in:
W1CDN 2023-04-08 17:07:09 -05:00
parent 939e96ad7e
commit 37d57db772

View File

@ -6,8 +6,8 @@ import csv
import ast
import glob
import json
app = Flask(__name__)
api = Api(app)
api_app = Flask(__name__)
api = Api(api_app)
def read_config():
config = configparser.ConfigParser()
@ -55,4 +55,4 @@ data = read_logs(log_folder)
api.add_resource(Packets, '/packets') # and '/locations' is our entry point for Locations
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0') # run our Flask app
api_app.run(debug=True, host='0.0.0.0') # run our Flask app