add cors middleware

This commit is contained in:
yanghao05
2023-01-30 11:44:34 +08:00
parent 3ab579fed7
commit 16f80cc297
4 changed files with 105 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ import (
"atom/providers/config"
_ "atom/providers/database"
_ "atom/providers/http"
_ "atom/providers/logger"
_ "atom/providers/log"
"go.uber.org/dig"
"gorm.io/gorm"