def METHOD_NAME(path: str) -> Any:
    # workaround to serve images (not in static directory)
    if path.startswith('img/'):
        return send_from_directory(
            directory=os.path.join(
                app.root_path,  # type: ignore
                'dist',
            ),
            path=path,
        )
    else:
        return render_template('index.html')