@app.route('/<path>')
def static_file(path):
 url = app.config['SERVICE_MAP']['static']
 res = requests.get(((url + '/') + path))
 return (res.content, 200, {'Content-Type': res.headers['Content-Type']})

@ app . route ( '/<path>' ) def static_file ( path ) : url = app . config [ 'SERVICE_MAP' ] [ 'static' ] res = requests . get ( ( ( url + '/' ) + path ) ) return ( res . content , 200 , { 'Content-Type' : res . headers [ 'Content-Type' ] } )
serves static files required by index .