dcc.Location and @app.server.route callbacks are not triggering

I am trying to route these pages to download this file, but whenever I type in the IP followed by /downloadMonth it does not call the function.

@server.route(’/downloadMonth’)
def download_monthPlot():
return send_from_directory(PNG_DIRECTORY, ‘allProducts_MonthFigure.png’, as_attachment=True)

@server.route(’/downloadWeek’)
def download_weekPlot():
html.H1(‘Week Data Acquired’)
return send_from_directory(PNG_DIRECTORY, ‘allProducts_WeekFigure.png’, as_attachment=True)