mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 02:17:27 -04:00
handle query strings, pass gate url to child process
This commit is contained in:
parent
55718913c4
commit
12eb00bccc
5 changed files with 44 additions and 26 deletions
|
@ -38,7 +38,7 @@ func start(_pipe: Dictionary, _gate: Gate) -> void:
|
|||
|
||||
|
||||
func create_log_file() -> void:
|
||||
var folder = gate.url.replace("http://", "").replace("https://", "").replace(".gate", "")
|
||||
var folder = gate.url.split("?")[0].replace("http://", "").replace("https://", "").replace(".gate", "")
|
||||
folder = folder.replace(":", "_") # remove ':' before port
|
||||
|
||||
var path = LOG_FOLDER + "/" + folder + "/" + LOG_FILE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue