Archived
Rewrite as a Spring Boot app on the Bennett platform
build-and-publish / build (push) Successful in 1m38s
build-and-publish / build (push) Successful in 1m38s
Restores the real backend lost with Supabase (posts, authors, comments, subscriptions, admin) in Postgres, seeds the existing markdown posts, and rebuilds the site as a Vite/React SPA served by Spring — keeping the original styling (serif + tan accent) and content. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
// dist/ is copied into the Spring jar's static/ by platform-parent's managed build.
|
||||
export default defineConfig({
|
||||
base: '/',
|
||||
plugins: [react(), tailwindcss()],
|
||||
build: { outDir: 'dist', emptyOutDir: true },
|
||||
server: {
|
||||
port: 5173,
|
||||
proxy: {
|
||||
'/api': 'http://127.0.0.1:8080',
|
||||
'/oauth2': 'http://127.0.0.1:8080',
|
||||
'/login': 'http://127.0.0.1:8080',
|
||||
'/logout': 'http://127.0.0.1:8080',
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user