mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 07:21:14 -03:00
Webconfig: Fix initial tab
For some reason the url is now http://localhost:$PORT/$RANDOM/#!/$TAB while this created http://localhost:$PORT/$RANDOM/#$TAB which redirected to http://localhost:$PORT/$RANDOM/#!/colors#$TAB i.e. the "colors" tab with a useless unmatched anchor.
This commit is contained in:
@@ -1527,7 +1527,7 @@ if len(sys.argv) > 1:
|
||||
"abbreviations",
|
||||
]:
|
||||
if tab.startswith(sys.argv[1]):
|
||||
initial_tab = "#" + tab
|
||||
initial_tab = "#!/" + tab
|
||||
break
|
||||
|
||||
url = "http://localhost:%d/%s/%s" % (PORT, authkey, initial_tab)
|
||||
|
||||
Reference in New Issue
Block a user