Human-Library-Endpunkte
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package com.homme.demo.controller;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.CrossOrigin;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
@@ -14,7 +13,6 @@ import com.homme.demo.dto.ChatRequest;
|
||||
import com.homme.demo.service.RagService;
|
||||
|
||||
|
||||
@CrossOrigin(origins = "${homme.cors.allowed-origins}")
|
||||
@RestController
|
||||
@RequestMapping("/chat")
|
||||
public class ChatController {
|
||||
|
||||
Reference in New Issue
Block a user