Skip to content

Commit

Permalink
Automatic redirect / -> /lg_editor
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Jun 20, 2017
1 parent ad93965 commit ffc26a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dfms/dropmake/web/lg_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ def gen_pgt():
response.status = 404
return "{0}: logical graph {1} not found\n".format(err_prefix, lg_name)

@get('/')
def root():
redirect('/lg_editor')

def run(parser, args):

epilog = \
Expand Down

0 comments on commit ffc26a4

Please sign in to comment.