Black Lives Matter. Please consider donating to Black Girls Code today.

Title of hte browser tab

Hi
I’ve made the title of the browser tab with the next script:

@server.route("/")
def main_tab_title():
    app.title = "Title"
    return app.index()

But when I run my dash app the browser tab is named “Dash”. And this title changes only after reloading the page. How can I delete the “Dash” title?

app = dash.Dash(__name__)
app.title = 'Super awesome app of Doom™'

if __name__ == '__main__':
    app.run_server(debug=True)
    

… should work. :slight_smile:

Thanks for the quick response!
This solution is great and it works.

1 Like