Files
Iceberg/examples/proxy/frontend/iceberg.config.js
T

12 lines
237 B
JavaScript

import { defineConfig } from '@fretuks/iceberg';
export default defineConfig({
server: {
port: 3000,
proxy: {
'/api': 'http://localhost:3001',
'/socket': { target: 'http://localhost:3001', ws: true }
}
}
});