aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/main.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/main.ts b/js/main.ts
index 58a40c0..32c5a5b 100644
--- a/js/main.ts
+++ b/js/main.ts
@@ -2,10 +2,6 @@
2 2
3// 3//
4 4
5if ('registerProtocolHandler' in navigator) {
6 (navigator as any).registerProtocolHandler('gopher', 'https://gopher.feuerfuchs.dev/%s', 'Web Gopher Proxy');
7}
8
9function ensureSetting(key: string, defaultValue: string): string { 5function ensureSetting(key: string, defaultValue: string): string {
10 let strValue = localStorage.getItem(key); 6 let strValue = localStorage.getItem(key);
11 if (strValue === null) { 7 if (strValue === null) {