Core: added development settings.

Fixed CoreConfiguration
This commit is contained in:
pavelbannov 2019-05-22 18:41:02 +03:00
parent e0dfae9337
commit 6474d925ce
3 changed files with 24 additions and 19 deletions

View File

@ -27,10 +27,10 @@
using ASC.Core.Configuration;
using ASC.Core.Tenants;
using System;
using System.Configuration;
using System.Text;
using Newtonsoft.Json;
using ASC.Common.Utils;
namespace ASC.Core
{
public class CoreConfiguration

View File

@ -12,19 +12,13 @@
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": false,
"launchUrl": "api/modules",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
"launchUrl": "api/modules"
},
"ASC.Web.Api": {
"commandName": "Project",
"launchBrowser": false,
"launchUrl": "api/modules",
"applicationUrl": "http://localhost:8080",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
"applicationUrl": "http://localhost:8080"
}
}
}

View File

@ -1,9 +1,20 @@
{
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
}
}
{
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "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"
}
}