mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-13 08:37:31 -06:00
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
This commit is contained in:
parent
4194f8d88f
commit
aa9ce272dc
30 changed files with 1346 additions and 977 deletions
|
|
@ -38,9 +38,9 @@ var Run action.GTSAction = func(ctx context.Context, c *config.Config, log *logr
|
|||
return fmt.Errorf("error creating dbservice: %s", err)
|
||||
}
|
||||
|
||||
if err := dbService.CreateSchema(ctx); err != nil {
|
||||
return fmt.Errorf("error creating dbschema: %s", err)
|
||||
}
|
||||
// if err := dbService.CreateSchema(ctx); err != nil {
|
||||
// return fmt.Errorf("error creating dbschema: %s", err)
|
||||
// }
|
||||
|
||||
// catch shutdown signals from the operating system
|
||||
sigs := make(chan os.Signal, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue