mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-12 07:58:49 +00:00
Merge pull request #328 from JazzFisch/disable-open-proxy
Remove pages/api/proxy.js as it was an open proxy
This commit is contained in:
commit
7033652508
2 changed files with 1 additions and 60 deletions
|
@ -10,7 +10,7 @@ import { SettingsContext } from "utils/contexts/settings";
|
|||
|
||||
function resolveIcon(icon) {
|
||||
if (icon.startsWith("http")) {
|
||||
return `/api/proxy?url=${encodeURIComponent(icon)}`;
|
||||
return icon;
|
||||
}
|
||||
|
||||
if (icon.startsWith("/")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue