HI
is there an easy way to display a pdf file which is in the assets directory on the server ?
I try with this code :
import dash
from dash import html
app = dash.Dash()
app.layout = html.Iframe(src=f’assets\Documentation.pdf’,)
if name == ‘main’:
app.run_server(debug=True)
But there is an error displayed in the Iframe :
NotFound
werkzeug.exceptions.NotFound: 404 Not Found:
The requested URL was not found on the server…
Thanks