I have a panel app with an example code below:
import pandas as pd import panel as pn pn.extension('tabulator',notifications=True) button = pn.widgets.Button(name = 'read') ... ... pn.Row(button).servable();
My Procfile is as below:
web: panel serve --address=“0.0.0.0” --port=$PORT app.ipynb --allow-websocket-origin=www.example.com
requirements.txt content as below:
All files are placed in my GitHub repository and working well when I deploy it in Heroku.
I want to add a sitemap to make the webpage visible in google search, however I could not find a way to do it.
I need to place it to the URL www.example.com/sitemap.xml I have sitemap.xml file ready. I don’t know how to create and connect it in the app code.
Anyone can give me some ideas to make it please?