Core: added development settings.
Fixed CoreConfiguration
This commit is contained in:
parent
e0dfae9337
commit
6474d925ce
@ -27,10 +27,10 @@
|
|||||||
using ASC.Core.Configuration;
|
using ASC.Core.Configuration;
|
||||||
using ASC.Core.Tenants;
|
using ASC.Core.Tenants;
|
||||||
using System;
|
using System;
|
||||||
using System.Configuration;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using ASC.Common.Utils;
|
||||||
|
|
||||||
namespace ASC.Core
|
namespace ASC.Core
|
||||||
{
|
{
|
||||||
public class CoreConfiguration
|
public class CoreConfiguration
|
||||||
|
@ -12,19 +12,13 @@
|
|||||||
"IIS Express": {
|
"IIS Express": {
|
||||||
"commandName": "IISExpress",
|
"commandName": "IISExpress",
|
||||||
"launchBrowser": false,
|
"launchBrowser": false,
|
||||||
"launchUrl": "api/modules",
|
"launchUrl": "api/modules"
|
||||||
"environmentVariables": {
|
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"ASC.Web.Api": {
|
"ASC.Web.Api": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"launchBrowser": false,
|
"launchBrowser": false,
|
||||||
"launchUrl": "api/modules",
|
"launchUrl": "api/modules",
|
||||||
"applicationUrl": "http://localhost:8080",
|
"applicationUrl": "http://localhost:8080"
|
||||||
"environmentVariables": {
|
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,9 +1,20 @@
|
|||||||
{
|
{
|
||||||
"Logging": {
|
"Logging": {
|
||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
"Default": "Debug",
|
"Default": "Debug",
|
||||||
"System": "Information",
|
"System": "Information",
|
||||||
"Microsoft": "Information"
|
"Microsoft": "Information"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
}
|
"ConnectionStrings": {
|
||||||
|
"default": {
|
||||||
|
"name": "default",
|
||||||
|
"connectionString": "Server=172.18.0.2;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none",
|
||||||
|
"providerName": "MySql.Data.MySqlClient"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core": {
|
||||||
|
"base-domain": "localhost",
|
||||||
|
"machinekey": "1VVAepxpW8f7"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user