Skip to content

Commit 04c80b9

Browse files
Merge pull request #755 from robertatakenaka/ajusta_url_da_api_core
Corrige a url da api core adicionando uma barra no final
2 parents 6d74a35 + 398c44a commit 04c80b9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

config/settings/local.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
default="FMiraeekXCSl3zHfg7D4oHx7ufT46HRnwnsawKgTCC53BYajVkVzb8HhOvBOHakR",
1212
)
1313
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
14-
ALLOWED_HOSTS = ["localhost", "0.0.0.0", "127.0.0.1", "192.168.1.98"]
14+
ALLOWED_HOSTS = ["localhost", "0.0.0.0", "127.0.0.1", "192.168.1.213"]
1515

1616
# CACHES
1717
# ------------------------------------------------------------------------------
@@ -67,5 +67,5 @@
6767
# Your stuff...
6868
# ------------------------------------------------------------------------------
6969

70-
JOURNAL_API_URL = f"http://{ALLOWED_HOSTS[-1]}:8009/api/v1/journal"
71-
ISSUE_API_URL = f"http://{ALLOWED_HOSTS[-1]}:8009/api/v1/issue"
70+
JOURNAL_API_URL = f"http://{ALLOWED_HOSTS[-1]}:8009/api/v1/journal/"
71+
ISSUE_API_URL = f"http://{ALLOWED_HOSTS[-1]}:8009/api/v1/issue/"

config/settings/production.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,5 +243,5 @@
243243
# Your stuff...
244244
# ------------------------------------------------------------------------------
245245

246-
JOURNAL_API_URL = "https://core.scielo.org/api/v1/journal"
247-
ISSUE_API_URL = "https://core.scielo.org/api/v1/issue"
246+
JOURNAL_API_URL = "https://core.scielo.org/api/v1/journal/"
247+
ISSUE_API_URL = "https://core.scielo.org/api/v1/issue/"

0 commit comments

Comments
 (0)