feat: Allowed the frontend as origin for CORS
[demos/kafka/chat] / src / main / java / de / juplo / kafka / chat / backend / ChatBackendProperties.java
index 598e8ce..122ac61 100644 (file)
@@ -13,4 +13,5 @@ import java.nio.file.Paths;
 public class ChatBackendProperties
 {
   private String datadir = Paths.get(System.getProperty("java.io.tmpdir"),"chat", "backend").toString();
+  private String allowedOrigins = "http://localhost:4200";
 }