import { defineConfig } from 'astro/config';
// import { defineConfig } from "vite";
import node from '@astrojs/node';
import sitemap from '@astrojs/sitemap';
import react from "@astrojs/react";

// https://astro.build/config
export default defineConfig({
  output: 'server',
  adapter: node({
    mode: 'standalone',
  }),
  // vite: {
  //   server: {
  //     host: true,
  //     port: 8080,
  //     proxy: {
  //       '/api/web/taConcatUs': {
  //         target: 'http://192.168.89.25:9906/api/web/taConcatUs',
  //         changeOrigin: true
  //       },
  //     }
  //   },
  // },
  integrations: [react(), sitemap()]
});