File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212// read database configuration (database provider + database connection) from environment variables
1313//Environment.GetEnvironmentVariable(DEFAULT_DATABASE_PROVIDER)
1414//Environment.GetEnvironmentVariable(DEFAULT_DATABASE_CONNECTION_STRING)
15- var defaultDatabaseConnectionSrting = "Filename=realworld.db" ;
15+ var defaultDatabaseConnectionString = "Filename=realworld.db" ;
1616var defaultDatabaseProvider = "sqlite" ;
1717
1818var builder = WebApplication . CreateBuilder ( args ) ;
1919
2020// take the connection string from the environment variable or use hard-coded database name
21- var connectionString = defaultDatabaseConnectionSrting ;
21+ var connectionString = defaultDatabaseConnectionString ;
2222
2323// take the database provider from the environment variable or use hard-coded database provider
2424var databaseProvider = defaultDatabaseProvider ;
You can’t perform that action at this time.
0 commit comments