Remove HotReload for database
This commit is contained in:
@@ -22,7 +22,6 @@ string? _dbpass = Environment.GetEnvironmentVariable("MySQLPass");
|
||||
string dbPass = !string.IsNullOrEmpty(_dbpass) ? _dbpass : "";
|
||||
string connStr = "server=" + dbserver + ";user=" + dbUser + ";database=" + dbdatabase + ";password=" + dbPass + ";port=3306;";
|
||||
DatabaseService databaseService = new DatabaseService( connectionString: connStr );
|
||||
await ProductController.HotReload( databaseService );
|
||||
builder.Services.Add( new ServiceDescriptor( typeof( DatabaseService ), databaseService ) );
|
||||
|
||||
// Email Service
|
||||
|
||||
Reference in New Issue
Block a user