We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e98b928 commit 0475247Copy full SHA for 0475247
1 file changed
src/main/java/com/closetnangam/be/global/common/controller/MockAuthController.java
@@ -3,6 +3,7 @@
3
import com.closetnangam.be.global.auth.jwt.JwtTokenProvider;
4
import io.swagger.v3.oas.annotations.Operation;
5
import io.swagger.v3.oas.annotations.tags.Tag;
6
+import org.springframework.context.annotation.Profile;
7
import org.springframework.http.ResponseEntity;
8
import org.springframework.web.bind.annotation.GetMapping;
9
import org.springframework.web.bind.annotation.RequestMapping;
@@ -15,6 +16,7 @@
15
16
@Tag(name = "Mock Auth", description = "개발용 임시 인증 API")
17
@RestController
18
@RequestMapping("/api/v1/auth")
19
+@Profile("local")
20
public class MockAuthController {
21
22
private final JwtTokenProvider jwtTokenProvider;
0 commit comments