API page blank #4751

Closed
opened 2025-11-02 06:01:45 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @devsentient on GitHub (Jan 29, 2020).

Hi,
I started up a Gitea instance using docker compose on an EC2 instance. The main site loads fine, but when I go to /api/swagger the page comes back blank. Log shows that it loaded successfully. Same works with no issues on localhost. What could be the problem?

Originally created by @devsentient on GitHub (Jan 29, 2020). Hi, I started up a Gitea instance using docker compose on an EC2 instance. The main site loads fine, but when I go to `/api/swagger` the page comes back blank. Log shows that it loaded successfully. Same works with no issues on localhost. What could be the problem?
Author
Owner

@6543 commented on GitHub (Jan 30, 2020):

I guess a config one

@6543 commented on GitHub (Jan 30, 2020): I guess a config one
Author
Owner

@6543 commented on GitHub (Jan 30, 2020):

@devsentient did you set ROOT_URL to your gitea address ?

docs: https://docs.gitea.io/en-us/config-cheat-sheet/#server-server

@6543 commented on GitHub (Jan 30, 2020): @devsentient did you set `ROOT_URL` to your gitea address ? docs: https://docs.gitea.io/en-us/config-cheat-sheet/#server-server
Author
Owner

@devsentient commented on GitHub (Jan 30, 2020):

Thanks that solved it.

@devsentient commented on GitHub (Jan 30, 2020): Thanks that solved it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4751