mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 17:28:46 +08: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:
parent
daa3ae4be1
commit
e548dca686
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user