mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
cors for wallet-header?
This commit is contained in:
@@ -15,7 +15,7 @@ func Routes(s *gin.Engine, db *pg.DB) {
|
|||||||
|
|
||||||
api := ver.Group("api")
|
api := ver.Group("api")
|
||||||
auth := ver.Group("auth")
|
auth := ver.Group("auth")
|
||||||
wallet := ver.Group("wallet", middleware.Auth)
|
wallet := ver.Group("wallet", middleware.CORSMiddleware(), middleware.Auth)
|
||||||
walletHeader := wallet.Group("wallet-header", middleware.Auth)
|
walletHeader := wallet.Group("wallet-header", middleware.Auth)
|
||||||
transaction := ver.Group("transaction", middleware.Auth)
|
transaction := ver.Group("transaction", middleware.Auth)
|
||||||
transactionType := ver.Group("transaction-type", middleware.Auth)
|
transactionType := ver.Group("transaction-type", middleware.Auth)
|
||||||
|
|||||||
Reference in New Issue
Block a user