its alr in the gluetun network
This commit is contained in:
parent
5a1d76e10e
commit
2b0202408f
2
index.js
2
index.js
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue