Fix clients that have an HTTP URL left in the local storage
This commit is contained in:
parent
87bb472ccc
commit
6ee488b9c9
|
@ -0,0 +1,5 @@
|
|||
if ('OpenFest-gauge-api' in localStorage) {
|
||||
if (localStorage['OpenFest-gauge-api'].startsWith('http://')) {
|
||||
localStorage['OpenFest-gauge-api'] = localStorage['OpenFest-gauge-api'].replace(/^http:\/\//, 'https://');
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue