2020-06-09 18:36:35 +02:00
|
|
|
package com.plannaplan;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.CrossOrigin;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
@CrossOrigin
|
|
|
|
public class TestController {
|
|
|
|
@GetMapping("/")
|
|
|
|
public String xd() {
|
2020-06-11 19:02:11 +02:00
|
|
|
return "<h1>xd</h1>";
|
2020-06-09 18:36:35 +02:00
|
|
|
}
|
|
|
|
}
|