Skip to content

Commit

Permalink
disable mirroring middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
krustowski committed Aug 11, 2023
1 parent 4cbfcb2 commit f1b18e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

APP_NAME=swis-api
APP_ROOT=/opt/${APP_NAME}
APP_VERSION=5.5.13
APP_VERSION=5.5.14


#
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @title swis-api (swapi) v5
// @version 5.5.13
// @version 5.5.14
// @description sakalWeb Information System v5 RESTful API documentation
// @termsOfService http://swagger.io/terms/

Expand Down Expand Up @@ -66,7 +66,7 @@ func main() {
router.Use(config.CORSMiddleware())

// Mirroring Middleware
router.Use(config.MirrorMiddleware())
//router.Use(config.MirrorMiddleware())

// serve savla-dev internal favicon
router.StaticFile("/favicon.ico", "./favicon.ico")
Expand Down

0 comments on commit f1b18e4

Please sign in to comment.