load api swager failed #5667

Closed
opened 2025-11-02 06:32:29 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @a1012112796 on GitHub (Jul 1, 2020).

  • Gitea version (or commit ref): 1.13.0+dev-306-g134bfd3e5 (master lasat commit)
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Screenshots

image

Originally created by @a1012112796 on GitHub (Jul 1, 2020). - Gitea version (or commit ref): 1.13.0+dev-306-g134bfd3e5 (master lasat commit) - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description ## Screenshots ![image](https://user-images.githubusercontent.com/25342410/86253309-f5447d00-bbe6-11ea-94fa-0b56a95b2541.png)
Author
Owner

@silverwind commented on GitHub (Jul 1, 2020):

Does opening /swagger.v1.json do anything?

fetch is here: https://github.com/go-gitea/gitea/blob/master/web_src/js/standalone/swagger.js#L6

@silverwind commented on GitHub (Jul 1, 2020): Does opening `/swagger.v1.json` do anything? fetch is here: https://github.com/go-gitea/gitea/blob/master/web_src/js/standalone/swagger.js#L6
Author
Owner

@a1012112796 commented on GitHub (Jul 2, 2020):

Oh, sorry, that's because of the wrong ip config in app.ini. I forgot about it. Thanks.

@a1012112796 commented on GitHub (Jul 2, 2020): Oh, sorry, that's because of the wrong ip config in app.ini. I forgot about it. Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5667