95f0fc0b7a
* every user has a right of a username and a display name and has the right to change it * System information page now shows information about database user count, char count, and database schema version * more maintenance lists * show the right values in columns and fields * move similar from inside of frontend component functions to utility js when used multiple times * display help on mouse over * add more than one believe to character * make char name editable with better char info in headline * GiT Gifttoleranz value not calculated correctly * Bump backend to 0.2.3, frontend to 0.2.2
18 lines
515 B
Go
18 lines
515 B
Go
package appsystem
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
// RegisterRoutes registers config-related routes (protected)
|
|
func RegisterRoutes(r *gin.RouterGroup) {
|
|
r.GET("/version", Versionsinfo)
|
|
r.GET("/systeminfo", SystemInfo)
|
|
}
|
|
|
|
// RegisterPublicRoutes registers public config routes (no auth required)
|
|
func RegisterPublicRoutes(r *gin.Engine) {
|
|
// Public version endpoint - no authentication required
|
|
public := r.Group("/api/public")
|
|
public.GET("/version", Versionsinfo)
|
|
public.GET("/systeminfo", SystemInfo)
|
|
}
|