use qbittorrent host
This commit is contained in:
parent
d4c541c865
commit
d9ebfaedb2
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "futureporn-our",
|
"name": "futureporn-our",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.8.20",
|
"version": "2.8.21",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently npm:dev:serve npm:dev:build:server npm:dev:build:client npm:dev:worker npm:dev:compose npm:dev:sftp npm:dev:qbittorrent npm:dev:tailscale",
|
"dev": "concurrently npm:dev:serve npm:dev:build:server npm:dev:build:client npm:dev:worker npm:dev:compose npm:dev:sftp npm:dev:qbittorrent npm:dev:tailscale",
|
||||||
|
@ -379,4 +379,5 @@ export class QBittorrentClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const qbtClient = new QBittorrentClient({});
|
const opts = env.NODE_ENV === 'production' ? { host: 'qbittorrent' } : { host: 'localhost' }
|
||||||
|
export const qbtClient = new QBittorrentClient(opts);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user