Rechtstexte als App-Seiten statt statischer HTML-Seiten
Impressum, Datenschutz und Beitragsordnung liegen als HTML-Fragmente in frontend/src/docs und werden unter /impressum, /datenschutz und /beitragsordnung in der App mit der einheitlichen Navigation gezeigt. Die alten Adressen /static/docs/*.html leiten per 301 dorthin um. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TiXsPUqw7oeomZ8wZrQW5q
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
15b0bfc69c
commit
f0dbb67054
@@ -16,19 +16,9 @@ export default defineConfig({
|
||||
// Das Go-Backend liefert das Build aus web/ aus (siehe frontend.go).
|
||||
// emptyOutDir muss explizit an sein, weil das Ziel außerhalb von frontend/
|
||||
// liegt.
|
||||
// Die Rechtstexte sind eigene statische Seiten ohne JS; als weitere Einstiege
|
||||
// bekommen sie dasselbe gebaute app.css wie die App.
|
||||
build: {
|
||||
outDir: "../web",
|
||||
emptyOutDir: true,
|
||||
rollupOptions: {
|
||||
input: [
|
||||
"index.html",
|
||||
"static/docs/impressum.html",
|
||||
"static/docs/datenschutz.html",
|
||||
"static/docs/beitragsordnung.html",
|
||||
],
|
||||
},
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
|
||||
Reference in New Issue
Block a user