Add port of upload token result and add to user list in message
This commit is contained in:
@@ -319,7 +319,7 @@ public class Server {
|
||||
|
||||
MediaServerConfig.SERVER_IP = getServerIp(config);
|
||||
|
||||
MediaServerConfig.HTTP_SERVER_PORT = config.getProperty(BrokerConstants.HTTP_SERVER_PORT);
|
||||
MediaServerConfig.HTTP_SERVER_PORT = Integer.parseInt(config.getProperty(BrokerConstants.HTTP_SERVER_PORT));
|
||||
|
||||
MediaServerConfig.FILE_STROAGE_ROOT = config.getProperty(BrokerConstants.FILE_STORAGE_ROOT, MediaServerConfig.FILE_STROAGE_ROOT);
|
||||
File file = new File(MediaServerConfig.FILE_STROAGE_ROOT);
|
||||
|
||||
@@ -21,7 +21,7 @@ public class MediaServerConfig {
|
||||
public static String QINIU_BUCKET_FAVORITE_DOMAIN;
|
||||
|
||||
public static String SERVER_IP = "localhost";
|
||||
public static String HTTP_SERVER_PORT = "8090";
|
||||
public static int HTTP_SERVER_PORT = 8080;
|
||||
public static String FILE_STROAGE_ROOT = "fs";
|
||||
public static boolean USER_QINIU = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user