mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-07 00:14:25 +00:00
Migrate backend auth to cookies
This commit is contained in:
@@ -13,6 +13,9 @@ import (
|
||||
// @license.name Apache 2.0
|
||||
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
// @BasePath /api/v1
|
||||
// @SecurityDefinitions.ApiKey CookieAuth
|
||||
// @In cookie
|
||||
// @Name access_token
|
||||
func main() {
|
||||
// Load configuration
|
||||
cfg, err := app.LoadConfig()
|
||||
|
||||
Reference in New Issue
Block a user