# Import the necessary modules and create the Flask appfrompathlibimportPathfromflaskimportFlask,send_from_directoryapp:Flask=Flask(__name__,template_folder=Path('client/templates'),static_folder='client/dist')fromxrf_explorer.server.routesimport*# All routes not matched in the server are forwarded to the client