Scramble trying to reach to api.json from localhost, even if it is deployed to production server #325
Unanswered
Bekzod101001
asked this question in
Q&A
Replies: 1 comment
-
Hey @Bekzod101001 Can you create reproduction repo? Otherwise I won't be able to help. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i defined another domain in APP_URL like this, but it doesn't working.
also tried to directly set api_domain property in scramble.php config file. But it's still failing.
i tried to directly open api.json from browser, and it is generated. However from /docs/api it's still trying to open an api.json from 127.0.0.1
and BTW, i have defined in Scramble::routes in AppServiceProvider, i was thinking maybe it's overriding default behavior, but it looks like not.
Beta Was this translation helpful? Give feedback.
All reactions