This commit is contained in:
2018-07-26 20:09:05 +00:00
parent 280239604c
commit 18e851c9c2
3 changed files with 165 additions and 23 deletions

View File

@@ -40,11 +40,12 @@ namespace rockfishCore
{
services.AddDbContext<rockfishContext>(
options => {
options.UseSqlite(Configuration.GetConnectionString("rfdb"));
options.EnableSensitiveDataLogging(false);
options =>
{
options.UseSqlite(Configuration.GetConnectionString("rfdb"));
options.EnableSensitiveDataLogging(false);
}
);
//Added this so that can access configuration from anywhere else
@@ -107,6 +108,14 @@ namespace rockfishCore
RfSchema.CheckAndUpdate(dbContext);
//bool bMM=RfMail.MailIsMirroringProperly();
try
{
var test = OpsDiagnostics.CheckWebsite("https://test.helloayanova.com/api/v8/", "AyaNova server");
}
catch (Exception ex)
{
string res = ex.Message;
}
}//eof
}