mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-09-06 14:37:49 +08:00
sync ui
This commit is contained in:
parent
9ba9ed4dfc
commit
6008f98ea1
2 changed files with 2 additions and 2 deletions
2
main.go
2
main.go
|
@ -37,7 +37,7 @@ func main() {
|
|||
|
||||
router.Use(cors.New(cors.Config{
|
||||
AllowMethods: []string{"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"},
|
||||
AllowHeaders: []string{"Authorization", "Content-Length", "Content-Type", "If-Modified-Since"},
|
||||
AllowHeaders: []string{"Authorization", "Content-Length", "Content-Type"},
|
||||
AllowCredentials: true,
|
||||
AllowOriginFunc: func(origin string) bool {
|
||||
return true
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 616d633fd8db4173d80552bc347e6a017e0a7005
|
||||
Subproject commit b4419da2736aa0ddcb9714dfcdd32c2642e717e1
|
Loading…
Add table
Reference in a new issue