diff --git a/src/main/scala/net/yoshinorin/qualtet/Modules.scala b/src/main/scala/net/yoshinorin/qualtet/Modules.scala index eacebd7e..2cc971fe 100644 --- a/src/main/scala/net/yoshinorin/qualtet/Modules.scala +++ b/src/main/scala/net/yoshinorin/qualtet/Modules.scala @@ -145,7 +145,7 @@ class Modules(tx: Transactor[IO]) { ) val authProvider = new AuthProvider(authService) - val corsProvider = new CorsProvider(Modules.config.cors) + val corsProvider = new CorsProvider(config.cors) val archiveRouteV1 = new ArchiveRouteV1(archiveService) val articleRouteV1 = new ArticleRouteV1(articleService)