From 3f38252146831f90e4bb97df7419ca4fb81d3081 Mon Sep 17 00:00:00 2001 From: ckkim817 Date: Thu, 18 Jul 2024 02:24:07 +0900 Subject: [PATCH] [FIX/#111] PATCH Method allow --- .../java/org/sopt/seonyakServer/global/config/WebConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/sopt/seonyakServer/global/config/WebConfig.java b/src/main/java/org/sopt/seonyakServer/global/config/WebConfig.java index 3814816..52171ff 100644 --- a/src/main/java/org/sopt/seonyakServer/global/config/WebConfig.java +++ b/src/main/java/org/sopt/seonyakServer/global/config/WebConfig.java @@ -14,7 +14,7 @@ public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") .allowedOrigins("http://localhost:8080", "http://localhost:8081", "http://localhost:5173", "https://api.seonyak-dev.kro.kr") - .allowedMethods("GET", "POST", "PUT", "DELETE") + .allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE") .allowedHeaders("*") .allowCredentials(true) .maxAge(3600);