web server port 9000 -> 7979
This commit is contained in:
@@ -151,7 +151,7 @@ namespace Project
|
||||
// Start OWIN host
|
||||
try
|
||||
{
|
||||
var options = new StartOptions("http://127.0.0.1:9000");
|
||||
var options = new StartOptions(Pub.setting.WebServiceURL);
|
||||
webApp = WebApp.Start<OWIN.Startup>(options);
|
||||
Console.WriteLine("start webapp");
|
||||
Pub.log.AddI("웹지원 서버 준비 완료");
|
||||
@@ -167,7 +167,7 @@ namespace Project
|
||||
|
||||
var wat = new System.Diagnostics.Stopwatch();
|
||||
wat.Restart();
|
||||
while(true)
|
||||
while (true)
|
||||
{
|
||||
if (Pub.InitWebView != 0) break;
|
||||
if (wat.ElapsedMilliseconds > 5000) break;
|
||||
@@ -176,10 +176,10 @@ namespace Project
|
||||
}
|
||||
|
||||
f.Dispose();
|
||||
|
||||
|
||||
Func_Login();
|
||||
|
||||
|
||||
|
||||
|
||||
///즐겨찾기 목록 갱신
|
||||
Update_FavoriteSite();
|
||||
@@ -217,7 +217,8 @@ namespace Project
|
||||
void Func_Login()
|
||||
{
|
||||
//Pub.InitWebView = 2;
|
||||
if (Pub.InitWebView == 1)
|
||||
this.sbWeb.Text = $"Host:{(webok ? "O" : "X")},WebView:{Pub.InitWebView}";
|
||||
if (webok && Pub.InitWebView == 1)
|
||||
{
|
||||
using (var f = new Dialog.fLogin_WB())
|
||||
if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
|
||||
@@ -1010,10 +1011,8 @@ namespace Project
|
||||
|
||||
private void 품목검색ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var url = "http://localhost:9000/item/find";
|
||||
var url = $"{Pub.setting.WebServiceURL}/item/find";
|
||||
Util.RunExplorer(url);
|
||||
//var f = new Dialog.fWebView("http://localhost:9000/item/find");
|
||||
//f.Show();
|
||||
}
|
||||
|
||||
|
||||
@@ -1041,7 +1040,7 @@ namespace Project
|
||||
private void 설명서ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
Util.RunExplorer("http://127.0.0.1:9000/Manual");
|
||||
Util.RunExplorer($"{Pub.setting.WebServiceURL}/Manual");
|
||||
}
|
||||
|
||||
private void 라이선스ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user