Replace default gateway with generic URL
This commit is contained in:
@@ -22,7 +22,7 @@ from pathlib import Path
|
|||||||
CONFIG_DIR = Path.home() / ".shellbound"
|
CONFIG_DIR = Path.home() / ".shellbound"
|
||||||
CONFIG_FILE = CONFIG_DIR / "config.json"
|
CONFIG_FILE = CONFIG_DIR / "config.json"
|
||||||
|
|
||||||
DEFAULT_GATEWAY = "https://soda.lab.obelisk.cc:8443"
|
DEFAULT_GATEWAY = "https://localhost:8443"
|
||||||
DEFAULT_KEEP_WORKSPACES = 5
|
DEFAULT_KEEP_WORKSPACES = 5
|
||||||
|
|
||||||
|
|
||||||
@@ -90,4 +90,4 @@ class Config(dict):
|
|||||||
value = int(self.get("keep_workspaces", DEFAULT_KEEP_WORKSPACES))
|
value = int(self.get("keep_workspaces", DEFAULT_KEEP_WORKSPACES))
|
||||||
except (TypeError, ValueError):
|
except (TypeError, ValueError):
|
||||||
return DEFAULT_KEEP_WORKSPACES
|
return DEFAULT_KEEP_WORKSPACES
|
||||||
return max(value, 0)
|
return max(value, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user