mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-24 23:20:49 +08:00
feat: update config
This commit is contained in:
@@ -5,6 +5,10 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class HelloController {
|
||||
/**
|
||||
* curl http://localhost:8080/api/hello \
|
||||
* -H "Authorization: Bearer <jwt-token>"
|
||||
*/
|
||||
@GetMapping("/api/hello")
|
||||
public String hello() {
|
||||
return "Hello, Authenticated User";
|
||||
|
||||
Reference in New Issue
Block a user