Rename first application.
This commit is contained in:
		@@ -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
 | 
			
		||||
		Reference in New Issue
	
	Block a user