Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route "/" cannot be overridden, will always render the file index.html without options #16

Open
osingaatje opened this issue Nov 12, 2024 · 0 comments

Comments

@osingaatje
Copy link
Collaborator

In init.py:

# route to the index page
@app.route('/')
def index():
    return render_template("index.html")

This overrides any other endpoint that is set to point to the root (even my own)
Is there some way to maybe add an option of disabling this default root? Something like: neca.start(defaultRootEndpoint=False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant