added routes package and serve in server package
This commit is contained in:
1 parent
303b9344f8
commit
547949795f
8 files changed
+74
-77
No files matched your search
@@ -12,9 +12,9 @@ func InitMiddlewares(app *fiber.App) {
|
||||
app.Use(
|
||||
cors.New(
|
||||
cors.Config{
|
||||
AllowOrigins: "https://localhost:3000,https://localhost:43243",
|
||||
AllowOrigins: "*",
|
||||
AllowHeaders: "*",
|
||||
AllowCredentials: true,
|
||||
AllowCredentials: false,
|
||||
},
|
||||
),
|
||||
jwtware.New(
|
||||
|
||||
Reference in new issue
Block a user