mirror of
https://git.meshkee.com/novintrades/website.git
synced 2026-08-11 20:50:58 +04:30
Expose optional metaDescription for blogs, reportages, and brands in admin/API, apply it on detail pages, and serve an up-to-date /sitemap.xml for approved content plus static site pages. Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
588 B
TypeScript
27 lines
588 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: "127.0.0.1",
|
|
port: 5174,
|
|
strictPort: true,
|
|
allowedHosts: ["novintrades.local", "novintrades.test"],
|
|
proxy: {
|
|
"/api": {
|
|
target: "http://127.0.0.1:3000",
|
|
changeOrigin: true,
|
|
},
|
|
"/health": {
|
|
target: "http://127.0.0.1:3000",
|
|
changeOrigin: true,
|
|
},
|
|
"/sitemap.xml": {
|
|
target: "http://127.0.0.1:3000",
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
});
|