222
This commit is contained in:
parent
e0a90e3d3e
commit
c6a37ff805
@ -97,7 +97,8 @@ public class WebMagicController extends BaseController implements PageProcessor
|
||||
@SuppressWarnings("unchecked")
|
||||
private void loadProxyConfig() {
|
||||
try {
|
||||
File configFile = ResourceUtils.getFile("classpath:test_proxy.yml");
|
||||
// File configFile = ResourceUtils.getFile("classpath:test_proxy.yml");
|
||||
File configFile = new File("/www/java_mall/erp/config/test_proxy.yml");
|
||||
if (configFile.exists()) {
|
||||
Yaml yaml = new Yaml();
|
||||
try (InputStream inputStream = new FileInputStream(configFile)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user