chore: requestHeader 에 referer 추가
This commit is contained in:
parent
fe2123ae38
commit
891bb874ec
@ -26,6 +26,9 @@ public class InterfaceQsp {
|
||||
@Value("${qsp.url}")
|
||||
private String qspUrl;
|
||||
|
||||
@Value("${front.url}")
|
||||
private String frontUrl;
|
||||
|
||||
/**
|
||||
* API Call
|
||||
*
|
||||
@ -170,6 +173,7 @@ public class InterfaceQsp {
|
||||
con.setReadTimeout(30000); // InputStream 읽어 오는 Timeout 시간 설정
|
||||
con.setRequestMethod(httpMethod.toString());
|
||||
con.setRequestProperty("Content-Type", "application/json");
|
||||
con.setRequestProperty("Referer", frontUrl);
|
||||
con.setDoInput(true);
|
||||
con.setUseCaches(false);
|
||||
con.setDefaultUseCaches(false);
|
||||
|
||||
@ -58,4 +58,7 @@ file:
|
||||
root.path: /home/development/public/files
|
||||
ini.root.path: /home/development/public/files/NewEstimate
|
||||
ini.base.filename: 料金シミュレーション.ini
|
||||
ini.drawing.img.path: /home/development/public/files/NewEstimate/Drawing
|
||||
ini.drawing.img.path: /home/development/public/files/NewEstimate/Drawing
|
||||
|
||||
front:
|
||||
url: http://1.248.227.176:3000
|
||||
@ -58,4 +58,7 @@ file:
|
||||
root.path: C:\\
|
||||
ini.root.path: C:\\NewEstimate
|
||||
ini.base.filename: 料金シミュレーション.ini
|
||||
ini.drawing.img.path: C:\\NewEstimate\Drawing
|
||||
ini.drawing.img.path: C:\\NewEstimate\Drawing
|
||||
|
||||
front:
|
||||
url: http://localhost:8080
|
||||
@ -58,4 +58,7 @@ file:
|
||||
root.path: /home/production/public/files
|
||||
ini.root.path: /home/production/public/files/NewEstimate
|
||||
ini.base.filename: 料金シミュレーション.ini
|
||||
ini.drawing.img.path: /home/production/public/files/NewEstimate/Drawing
|
||||
ini.drawing.img.path: /home/production/public/files/NewEstimate/Drawing
|
||||
|
||||
front:
|
||||
url: https://hanasys.jp
|
||||
Loading…
x
Reference in New Issue
Block a user