Building a web application with Spring Boot and Angular (#6496)
* Initial Commit * Delete angularclient folder * Add spring-boot-angular module to root pom.xml * Update pom.xml * Update root pom.xml * Update root pom.xml
This commit is contained in:
committed by
KevinGilmore
parent
6cd8c51b4d
commit
b10782f89e
@@ -1,6 +1,6 @@
|
||||
package com.baeldung.application.controllers;
|
||||
|
||||
import com.application.entities.User;
|
||||
import com.baeldung.application.entities.User;
|
||||
import com.baeldung.application.repositories.UserRepository;
|
||||
import java.util.List;
|
||||
import org.springframework.web.bind.annotation.CrossOrigin;
|
||||
|
||||
@@ -6,5 +6,4 @@ import org.springframework.stereotype.Repository;
|
||||
import org.springframework.web.bind.annotation.CrossOrigin;
|
||||
|
||||
@Repository
|
||||
@CrossOrigin(origins = "http://localhost:4200")
|
||||
public interface UserRepository extends CrudRepository<User, Long>{}
|
||||
|
||||
Reference in New Issue
Block a user