Files
SkyArtShop/Sky_Art_shop/appsettings.Production.json
Local Server 703ab57984 Fix admin route access and backend configuration
- Added /admin redirect to login page in nginx config
- Fixed backend server.js route ordering for proper admin handling
- Updated authentication middleware and routes
- Added user management routes
- Configured PostgreSQL integration
- Updated environment configuration
2025-12-13 22:34:11 -06:00

34 lines
898 B
JSON

{
"Logging": {
"LogLevel": {
"Default": "Warning",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Warning"
}
},
"AllowedHosts": "*",
"MongoDB": {
"ConnectionString": "mongodb://localhost:27017",
"DatabaseName": "SkyArtShopDB",
"Collections": {
"Pages": "Pages",
"PortfolioCategories": "PortfolioCategories",
"PortfolioProjects": "PortfolioProjects",
"Products": "Products",
"BlogPosts": "BlogPosts",
"SiteSettings": "SiteSettings",
"MenuItems": "MenuItems",
"HomepageSections": "HomepageSections",
"Users": "Users"
}
},
"AdminUser": {
"Email": "admin@skyartshop.com",
"Password": "ChangeThisPassword123!",
"Name": "Sky Art Shop Admin"
},
"ConnectionStrings": {
"IdentityConnection": "Data Source=identity.db"
}
}