mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-16 10:09:28 +02:00
Use port 2369 as standard port for OAuth callbacks
This commit is contained in:
parent
c13c9175e3
commit
74f2a3cef7
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ var authCmd = &cobra.Command{
|
||||||
|
|
||||||
callbackHost, _ := strings.CutSuffix(viper.GetString("oauth-host"), "/")
|
callbackHost, _ := strings.CutSuffix(viper.GetString("oauth-host"), "/")
|
||||||
if callbackHost == "" {
|
if callbackHost == "" {
|
||||||
callbackHost = "127.0.0.1:2222"
|
callbackHost = "127.0.0.1:2369"
|
||||||
}
|
}
|
||||||
callbackPath := "/callback/" + backend
|
callbackPath := "/callback/" + backend
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
database = "scotty.sqlite3"
|
database = "scotty.sqlite3"
|
||||||
|
|
||||||
# Host and port for OAuth authentication callbacks
|
# Host and port for OAuth authentication callbacks
|
||||||
oauth-host = "127.0.0.1:2222"
|
oauth-host = "127.0.0.1:2369"
|
||||||
|
|
||||||
[service.listenbrainz]
|
[service.listenbrainz]
|
||||||
# This backend supports listens and loves from https://listenbrainz.org/
|
# This backend supports listens and loves from https://listenbrainz.org/
|
||||||
|
|
Loading…
Add table
Reference in a new issue