remove comments
This commit is contained in:
parent
f5f0bed65b
commit
17ace8282b
@ -28,9 +28,6 @@ export default function Component({ service }) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// i would like to be able to do something like this but i guess not
|
|
||||||
// service.description += suwayomiData.name;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container service={service}>
|
<Container service={service}>
|
||||||
{suwayomiData.map((data) => (
|
{suwayomiData.map((data) => (
|
||||||
|
|||||||
@ -295,10 +295,6 @@ export default async function suwayomiProxyHandler(req, res) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const returnData = widget.fields.map((name) => extractCounts(responseJSON, name, countsToExtract[name]));
|
const returnData = widget.fields.map((name) => extractCounts(responseJSON, name, countsToExtract[name]));
|
||||||
// this would be used for setting the service.description if it was possible
|
|
||||||
// if ("category" in responseJSON.data){
|
|
||||||
// returnData.name = responseJSON.data.category.name
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (contentType) res.setHeader("Content-Type", contentType);
|
if (contentType) res.setHeader("Content-Type", contentType);
|
||||||
return res.status(status).send(returnData);
|
return res.status(status).send(returnData);
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
// import genericProxyHandler from "utils/proxy/handlers/generic";
|
|
||||||
import suwayomiProxyHandler from "./proxy";
|
import suwayomiProxyHandler from "./proxy";
|
||||||
|
|
||||||
const widget = {
|
const widget = {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user