Shared hosting (e.g. mijnhostingpartner.nl) typically allows only one site/app-pool, so SlpModularCms.Api now serves everything itself: '/' for the customer's public website (deployed separately, not part of this repo), '/admin' for the CMS admin SPA, and '/api/v1' for the API as before. - Program.cs: static files from wwwroot + SPA fallbacks per path so client-side routing works for both frontends. - frontend/: builds with base '/admin/' in production (dev unchanged), router basepath follows suit. - SlpModularCms.Api.csproj: publish now builds the admin frontend and copies its output into wwwroot/admin automatically. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Wi5qHAuq8UbzN4NLUFeKkJ
49 lines
790 B
Plaintext
49 lines
790 B
Plaintext
## Ignore Visual Studio temporary files, build results, and
|
|
## files generated by popular Visual Studio add-ons.
|
|
|
|
# User-specific files
|
|
*.rsuser
|
|
*.suo
|
|
*.user
|
|
*.userosscache
|
|
*.sln.docstates
|
|
|
|
# User-specific files (DotSettings)
|
|
*.Generated.dotSettings.user
|
|
|
|
# Build results
|
|
[Dd]ebug/
|
|
[Dd]ebugPublic/
|
|
[Rr]elease/
|
|
[Rr]eleases/
|
|
x64/
|
|
x86/
|
|
[Aa][Rr][Mm]/
|
|
[Aa][Rr][Mm]64/
|
|
bld/
|
|
[Bb]in/
|
|
[Oo]bj/
|
|
[Ll]og/
|
|
[Vv][Ss][Ll]og/
|
|
|
|
# Visual Studio 2015/2017/2019/2022 cache/options directory
|
|
.vs/
|
|
# Generated on publish: admin SPA build (+ separately-deployed public website), see SlpModularCms.Api.csproj
|
|
wwwroot/
|
|
|
|
# Visual Studio Code design time settings
|
|
.vscode/
|
|
|
|
# Rider
|
|
.idea/
|
|
*.sln.iml
|
|
|
|
# Local developer overrides — never commit
|
|
appsettings.local.json
|
|
|
|
# Secrets manager
|
|
secrets.json
|
|
|
|
# Tooling
|
|
.tools/
|