本番用Docker Compose作成
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { env } from 'node:process';
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
host: env.VITE_HOST ?? '127.0.0.1',
|
||||
port: 5173,
|
||||
proxy: {
|
||||
'/api': 'http://127.0.0.1:3000',
|
||||
|
||||
Reference in New Issue
Block a user