its alr in the gluetun network

This commit is contained in:
localhost 2024-06-02 09:58:12 +02:00
parent 5a1d76e10e
commit 2b0202408f
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ app.get('/cobalt', async (req, res) => {
for (let retries = 0; retries < maxRetries; retries++) { for (let retries = 0; retries < maxRetries; retries++) {
try { try {
json = await (await fetch('http://gluetun:9000/api/json', { json = await (await fetch('http://127.0.0.1:9000/api/json', {
method: 'POST', method: 'POST',
headers: { headers: {
'Accept': 'application/json', 'Accept': 'application/json',