feat: tenant-scoped routing and portal navigation
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
package v1
|
||||
|
||||
func (r *Routes) Path() string {
|
||||
return "/v1"
|
||||
return "/t/:tenantCode/v1"
|
||||
}
|
||||
|
||||
func (r *Routes) Middlewares() []any {
|
||||
return []any{
|
||||
r.middlewares.TenantResolver,
|
||||
r.middlewares.Auth,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user