added methods

This commit is contained in:
ACoolName 2024-05-25 00:39:24 +03:00
parent 340691fcc3
commit 3a77ff63a2

View File

@ -23,6 +23,7 @@ func main() {
router.Use(cors.New(cors.Config{
AllowOrigins: []string{"*"},
AllowCredentials: true,
AllowMethods: []string{"*"},
}))
file, err := os.Open(os.Getenv(CONFIG_PATH_ENV_VAR))
if err != nil {