Skip to content

Commit

Permalink
권한 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
HeeSung98 committed Nov 15, 2023
1 parent 7e0a5e7 commit 0bbb841
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package com.weather.controller;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class WeatherController {
@PreAuthorize("permitAll()")
@GetMapping("/test")
public String test() {
return "test!!";
Expand Down

0 comments on commit 0bbb841

Please sign in to comment.