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

Navigate to /forecast on login. #12

Open
smmuirhead100 opened this issue Sep 20, 2023 · 1 comment
Open

Navigate to /forecast on login. #12

smmuirhead100 opened this issue Sep 20, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@smmuirhead100
Copy link
Owner

Once you log in, you are navigated to a blank screen with path /. However, you should always be navigated to /forecast.

@smmuirhead100 smmuirhead100 added the good first issue Good for newcomers label Sep 20, 2023
@issamansur
Copy link

issamansur commented Sep 20, 2023

What do u think about changing:

@app.route('/')
def hello_world():
    return 'Hello Imposter!'

to

@app.route('/')
def hello_world():
    return redirect('/forecast')

?

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

No branches or pull requests

2 participants