Windows assets, check hash while upload

This commit is contained in:
Aurélie Delhaie
2022-06-16 22:45:24 +02:00
parent 5ed0cfa837
commit 86b0924148
17 changed files with 277 additions and 37 deletions

View File

@@ -18,7 +18,7 @@ var db *gorm.DB
const AdminRole string = "admin"
const UserRole string = "user"
func init() {
func Init() {
dbConfig := config.Database()
var err error
connectionString := ""