diff options
author | 2021-03-22 22:26:54 +0100 | |
---|---|---|
committer | 2021-03-22 22:26:54 +0100 | |
commit | aa9ce272dcfa1380b2f05bc3a90ef8ca1b0a7f62 (patch) | |
tree | f3e01f5434a2f90007969373f0fa32dc855207c7 /example | |
parent | fix lint errors (diff) | |
download | gotosocial-aa9ce272dcfa1380b2f05bc3a90ef8ca1b0a7f62.tar.xz |
Oauth/token (#7)
* add host and protocol options
* some fiddling
* tidying up and comments
* tick off /oauth/token
* tidying a bit
* tidying
* go mod tidy
* allow attaching middleware to server
* add middleware
* more user friendly
* add comments
* comments
* store account + app
* tidying
* lots of restructuring
* lint + tidy
Diffstat (limited to 'example')
-rw-r--r-- | example/config.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml index b65149d9a..58766a23a 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -28,6 +28,17 @@ logLevel: "info" # Default: "gotosocial" applicationName: "gotosocial" +# String. Hostname/domain to use for the server. Defaults to localhost for local testing, +# but you should *definitely* change this when running for real, or your server won't work at all. +# Examples: ["example.org","some.server.com"] +# Default: "localhost" +host: "localhost" + +# String. Protocol to use for the server. Only change to http for local testing! +# Options: ["http","https"] +# Default: "https" +protocol: "https" + # Config pertaining to the Gotosocial database connection db: # String. Database type. |