fix bug with unbanned players still showing as banned via lock icon move player based stuff into client class finally renamed Player to EFClient via partial class don't try to run this build because it's in between stages
12 lines
299 B
Python
12 lines
299 B
Python
from flask import Flask
|
|
from flask_restful import Api
|
|
from .log_resource import LogResource
|
|
from .restart_resource import RestartResource
|
|
|
|
app = Flask(__name__)
|
|
|
|
def init():
|
|
api = Api(app)
|
|
api.add_resource(LogResource, '/log/<string:path>')
|
|
api.add_resource(RestartResource, '/restart')
|