Skip to content

Commit 9d5b2ca

Browse files
committed
[FIX] #26 SpringBootCors
1 parent dd8bca0 commit 9d5b2ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SpringBootCors/src/main/kotlin/com/example/kotlin/web/MessageController.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class MessageController {
99

1010
//@CrossOrigin
1111
@GetMapping("{value}")
12-
operator fun get(@PathVariable value: String): String {
12+
fun get(@PathVariable value: String): String {
1313
return value
1414
}
1515

0 commit comments

Comments
 (0)