diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2019-07-01 11:13:29 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-07-01 11:13:29 +0200 |
commit | 07ef1e58f999bb1d2fcbb1d8d01f5d0d1c8c91ca (patch) | |
tree | 036e6b84c16dad2bec7fa3a15cf3dd5b167c860a /js | |
parent | Register proxy as protocol handler (diff) | |
download | gopherproxy-07ef1e58f999bb1d2fcbb1d8d01f5d0d1c8c91ca.tar.gz gopherproxy-07ef1e58f999bb1d2fcbb1d8d01f5d0d1c8c91ca.tar.bz2 gopherproxy-07ef1e58f999bb1d2fcbb1d8d01f5d0d1c8c91ca.zip |
Remove web+ from protocol registration
Diffstat (limited to 'js')
-rw-r--r-- | js/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ | |||
3 | // | 3 | // |
4 | 4 | ||
5 | if ('registerProtocolHandler' in navigator) { | 5 | if ('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 | ||
9 | function ensureSetting(key: string, defaultValue: string): string { | 9 | function ensureSetting(key: string, defaultValue: string): string { |