()
| 1187 | ]); |
| 1188 | |
| 1189 | function getEmbedProxyService(): EmbedProxyService { |
| 1190 | const service = settings.store.embedProxyService; |
| 1191 | return service === "nfp" ? service : "cors"; |
| 1192 | |
| 1193 | } |
| 1194 | |
| 1195 | function shouldProxyEmbedUrl(url: string): boolean { |
| 1196 | const ext = getUrlExtension(url)?.toLowerCase(); |