Rename project from imc-vibe to imc
- Binary name: imc-vibe -> imc - Go module: github.com/imc-vibe/backend -> github.com/imc/backend - JWT issuer: imc-vibe -> imc - UI labels: IMC Vibe -> IMC - Update all imports and comments
This commit is contained in:
parent
a4c6b04b37
commit
ff52be8adf
19 changed files with 52 additions and 40 deletions
|
|
@ -4,10 +4,10 @@ import (
|
|||
"net/http"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/imc-vibe/backend/internal/api/handlers"
|
||||
"github.com/imc-vibe/backend/internal/auth"
|
||||
"github.com/imc-vibe/backend/internal/config"
|
||||
"github.com/imc-vibe/backend/internal/db"
|
||||
"github.com/imc/backend/internal/api/handlers"
|
||||
"github.com/imc/backend/internal/auth"
|
||||
"github.com/imc/backend/internal/config"
|
||||
"github.com/imc/backend/internal/db"
|
||||
)
|
||||
|
||||
type Router struct {
|
||||
|
|
@ -22,7 +22,7 @@ type Router struct {
|
|||
}
|
||||
|
||||
func New(database *db.DB, cfg *config.Config) *Router {
|
||||
jwtManager := auth.NewJWTManager(cfg.JWTSecret, "imc-vibe")
|
||||
jwtManager := auth.NewJWTManager(cfg.JWTSecret, "imc")
|
||||
|
||||
r := &Router{
|
||||
authHandler: handlers.NewAuthHandler(database, jwtManager, cfg.TrustedProxies),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue