diff --git a/src/main/kotlin/com/mnnit/moticlubs/controller/IndexController.kt b/src/main/kotlin/com/mnnit/moticlubs/controller/IndexController.kt index c9ea67f..9c2e083 100644 --- a/src/main/kotlin/com/mnnit/moticlubs/controller/IndexController.kt +++ b/src/main/kotlin/com/mnnit/moticlubs/controller/IndexController.kt @@ -17,11 +17,11 @@ class IndexController { @GetMapping("", produces = ["text/html"]) fun index( - @Value("classpath:templates/index.html") html: Resource + @Value("classpath:templates/index.html") html: Resource, ): Mono> = Mono.just(ResponseEntity.status(HttpStatus.OK).body(html)) @GetMapping("/privacy", produces = ["text/html"]) fun privacy( - @Value("classpath:templates/privacy.html") html: Resource + @Value("classpath:templates/privacy.html") html: Resource, ): Mono> = Mono.just(ResponseEntity.status(HttpStatus.OK).body(html)) }