-
Notifications
You must be signed in to change notification settings - Fork 19
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
Login API not working under webpack #828
Comments
@Mletter1 or @wlhunt, do either of you know why we have the projects-redirect line in web-server-config.ini?
It seems to be used by get_root() in handlers.py: def get_root():
"""
Redirect all requests to "/" to "/projects"
"""
current_url = urlparse.urlparse(cherrypy.url())
proj_url = "https://" + current_url.netloc + cherrypy.request.app.config["slycat-web-server"]["projects-redirect"]
raise cherrypy.HTTPRedirect(proj_url, 303) to redirect to /projects when someone logs in to the root of the site. I'd like to get rid of it and just automatically serve up the list of projects when anyone visits the root of the site. Any thoughts? |
This should now be fixed. |
Our login system is not working under webpack on the react branch. Need to fix this.
The text was updated successfully, but these errors were encountered: