diff --git a/config.example.toml b/config.example.toml index 92286c0..95c1464 100644 --- a/config.example.toml +++ b/config.example.toml @@ -17,8 +17,3 @@ port = 5432 port = 8080 wisp = true logging = true # Disable for the tons & tons of logs to go away (useful for debugging but otherwise eh) - -[server.rammerhead] # Don't touch this section unless you KNOW what you are doing -reverseproxy = true -localstorage_sync = true -http2 = true diff --git a/src/components/catalog/InstalledPlugins.svelte b/src/components/catalog/InstalledPlugins.svelte index fce23a5..2b59bf2 100644 --- a/src/components/catalog/InstalledPlugins.svelte +++ b/src/components/catalog/InstalledPlugins.svelte @@ -4,7 +4,7 @@ import { Settings, settings } from "@utils/settings/index"; import Parent from "./Parent.svelte"; async function getItem(item) { try { - const response = await fetch(`/api/packages/${item.name.toLowerCase()}`); + const response = await fetch(`/api/packages/${item.name}`); const data = await response.json(); return { ...data, @@ -20,7 +20,7 @@ async function getAssets() { const promises = items.map(getItem); const dataArray = await Promise.all(promises); let accumulatedData = dataArray.filter((data) => data !== null); - accumulatedData = accumulatedData.filter(({ remove }) => remove === true); + accumulatedData = accumulatedData.filter(({ remove }) => remove !== true); console.log(JSON.stringify(accumulatedData)); return accumulatedData; }