Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/scrutiny/commit/234a8f9b019c3f9edef33453c0c79c2b5ae80f81?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.
pull/93/head
Andrea Spacca 4 years ago
parent 54baeb4c4e
commit 234a8f9b01

@ -26,6 +26,9 @@ web:
src: src:
frontend: frontend:
path: /scrutiny/web path: /scrutiny/web
# leave empty unless behind a path prefixed proxy
backend:
basepath: # if behind a path prefixed proxy set to path value
log: log:

@ -30,6 +30,7 @@ func (c *configuration) Init() error {
c.SetDefault("web.listen.port", "8080") c.SetDefault("web.listen.port", "8080")
c.SetDefault("web.listen.host", "0.0.0.0") c.SetDefault("web.listen.host", "0.0.0.0")
c.SetDefault("web.src.frontend.path", "/scrutiny/web") c.SetDefault("web.src.frontend.path", "/scrutiny/web")
c.SetDefault("web.src.backend.basepath", "")
c.SetDefault("web.database.location", "/scrutiny/config/scrutiny.db") c.SetDefault("web.database.location", "/scrutiny/config/scrutiny.db")
c.SetDefault("log.level", "INFO") c.SetDefault("log.level", "INFO")

Loading…
Cancel
Save