mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 14:31:43 +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",
|
"abbreviations",
|
||||||
]:
|
]:
|
||||||
if tab.startswith(sys.argv[1]):
|
if tab.startswith(sys.argv[1]):
|
||||||
initial_tab = "#" + tab
|
initial_tab = "#!/" + tab
|
||||||
break
|
break
|
||||||
|
|
||||||
url = "http://localhost:%d/%s/%s" % (PORT, authkey, initial_tab)
|
url = "http://localhost:%d/%s/%s" % (PORT, authkey, initial_tab)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user