mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 06:38:46 +00:00

* Restrict emby endpoints and proxy segments * Dont allow path traversal in segments * Restrict qbittorrent proxy endpoints * Restrict npm proxy endpoints * Restrict flood proxy endpoints * Restrict tdarr proxy endpoints * Restrict xteve proxy endpoints * Restrict transmission proxy endpoints * disallow non-mapped endpoints this change drops all requests that have un-mapped endpoint queries allowedEndpoints is added as a method to pass proxy requests via a regex on the endpoint most widgets with custom proxies use either no endpoint, or a static one Co-Authored-By: Ben Phelps <ben@phelps.io>
8 lines
155 B
JavaScript
8 lines
155 B
JavaScript
import gamedigProxyHandler from "./proxy";
|
|
|
|
const widget = {
|
|
proxyHandler: gamedigProxyHandler,
|
|
allowedEndpoints: /status/,
|
|
};
|
|
|
|
export default widget;
|