aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2019-07-01 11:13:29 +0200
committerFeuerfuchs <git@feuerfuchs.dev>2019-07-01 11:13:29 +0200
commit07ef1e58f999bb1d2fcbb1d8d01f5d0d1c8c91ca (patch)
tree036e6b84c16dad2bec7fa3a15cf3dd5b167c860a /js
parentRegister proxy as protocol handler (diff)
downloadgopherproxy-07ef1e58f999bb1d2fcbb1d8d01f5d0d1c8c91ca.tar.gz
gopherproxy-07ef1e58f999bb1d2fcbb1d8d01f5d0d1c8c91ca.tar.bz2
gopherproxy-07ef1e58f999bb1d2fcbb1d8d01f5d0d1c8c91ca.zip
Remove web+ from protocol registration
Diffstat (limited to 'js')
-rw-r--r--js/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/main.ts b/js/main.ts
index adf95c6..58a40c0 100644
--- a/js/main.ts
+++ b/js/main.ts
@@ -3,7 +3,7 @@
3// 3//
4 4
5if ('registerProtocolHandler' in navigator) { 5if ('registerProtocolHandler' in navigator) {
6 (navigator as any).registerProtocolHandler('web+gopher', 'https://gopher.feuerfuchs.dev/%s', 'Web Gopher Proxy'); 6 (navigator as any).registerProtocolHandler('gopher', 'https://gopher.feuerfuchs.dev/%s', 'Web Gopher Proxy');
7} 7}
8 8
9function ensureSetting(key: string, defaultValue: string): string { 9function ensureSetting(key: string, defaultValue: string): string {