forked from TrueCloudLab/frostfs-rest-gw
parent
6e01a0ead7
commit
d18312ecde
44 changed files with 2613 additions and 148 deletions
|
@ -97,7 +97,9 @@ func (a *API) PostAuth(params operations.AuthParams) middleware.Responder {
|
|||
}
|
||||
}
|
||||
|
||||
return operations.NewAuthOK().WithPayload(response)
|
||||
return operations.NewAuthOK().
|
||||
WithPayload(response).
|
||||
WithAccessControlAllowOrigin("*")
|
||||
}
|
||||
|
||||
func prepareObjectToken(ctx context.Context, params objectTokenParams, pool *pool.Pool, owner user.ID) (*models.TokenResponse, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue