diff --git a/src/api/ui/settings/plugins.tsx b/src/api/ui/settings/plugins.tsx index 5a756c3..98999a9 100644 --- a/src/api/ui/settings/plugins.tsx +++ b/src/api/ui/settings/plugins.tsx @@ -1,8 +1,3 @@ -//in theory this should never be unset? but just as a sanity check -//#ifnset _CORS_URL -//#set _CORS_URL = "https://cors.ruthenic.com/" -//#endif - import { React, nests, nestsReact } from "../../common"; import { add } from "../../plugin"; import webpack from "../../webpack"; @@ -24,7 +19,7 @@ export default () => { { const text = await ( await fetch("$_CORS_URL" + input) ).text(); - add(text); + add(text, { + url: input + }); setInput(""); } }}