🔧 Added scaffold for the qBittorrent connection form

This commit is contained in:
2023-09-05 20:27:50 -04:00
parent 093dcc448c
commit c591f1db2f
7 changed files with 61 additions and 3 deletions

View File

@@ -143,6 +143,8 @@ export const SETTINGS_CALL_FAILED = "SETTINGS_CALL_FAILED";
export const SETTINGS_OBJECT_DELETED = "SETTINGS_OBJECT_DELETED";
export const SETTINGS_DB_FLUSH_SUCCESS = "SETTINGS_DB_FLUSH_SUCCESS";
export const SETTINGS_QBITTORRENT_TORRENTS_LIST_FETCHED = "SETTINGS_QBITTORRENT_TORRENTS_LIST_FETCHED";
// Metron Metadata
export const METRON_DATA_FETCH_SUCCESS = "METRON_DATA_FETCH_SUCCESS";
export const METRON_DATA_FETCH_IN_PROGRESS = "METRON_DATA_FETCH_IN_PROGRESS";

View File

@@ -84,3 +84,10 @@ export const JOB_QUEUE_SERVICE_BASE_URI = hostURIBuilder({
port: "3000",
apiPath: `/api/jobqueue`,
});
export const QBITTORRENT_SERVICE_BASE_URI = hostURIBuilder({
protocol: "http",
host: import.meta.env.UNDERLYING_HOSTNAME || "localhost",
port: "3060",
apiPath: `/api/qbittorrent`,
});

View File

@@ -40,7 +40,7 @@
},
{
"id": "qbittorrent",
"displayName": "qBitTorrent",
"displayName": "qBittorrent",
"children": [
{
"id": "qbt-connection",