Reformat code

c820d5f56a6cea0180954c3473b5fae4116d6bdb

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/openai.js+1 -1
@@ -426,7 +426,7 @@ async function validateReverseProxy() {
426 const rememberKey = `Proxy_SkipConfirm_${getStringHash(oai_settings.reverse_proxy)}`;426 const rememberKey = `Proxy_SkipConfirm_${getStringHash(oai_settings.reverse_proxy)}`;
427 const skipConfirm = localStorage.getItem(rememberKey) === 'true';427 const skipConfirm = localStorage.getItem(rememberKey) === 'true';
428428
429 const confirmation = skipConfirm || await Popup.show.confirm(t`Connecting To Proxy`, await renderTemplateAsync('proxyConnectionWarning', {proxyURL: DOMPurify.sanitize(oai_settings.reverse_proxy)}));429 const confirmation = skipConfirm || await Popup.show.confirm(t`Connecting To Proxy`, await renderTemplateAsync('proxyConnectionWarning', { proxyURL: DOMPurify.sanitize(oai_settings.reverse_proxy) }));
430430
431 if (!confirmation) {431 if (!confirmation) {
432 toastr.error('Update or remove your reverse proxy settings.');432 toastr.error('Update or remove your reverse proxy settings.');