aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/options.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.ts b/src/options.ts
index e963a683..2034aff5 100644
--- a/src/options.ts
+++ b/src/options.ts
@@ -430,7 +430,7 @@ function invidiousInstanceAddInit(element: HTMLElement, option: string) {
let instanceList = Config.config[option];
if (!instanceList) instanceList = [];
- instanceList.push(textBox.value);
+ instanceList.push(textBox.value.trim().toLowerCase());
Config.config[option] = instanceList;