build(video-studio): 📦️ Update Vite build configs and iphotos-sync Makefile for video studio frontend setup
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
7f05eb8bea
commit
a92be15e43
3 changed files with 5 additions and 5 deletions
|
|
@ -29,7 +29,7 @@ export default defineConfig({
|
|||
rewrite: (p) => p.replace(/^\/proxy\/video/, ''),
|
||||
changeOrigin: true,
|
||||
},
|
||||
// Proxy to image-assistant (10.0.0.116:5220) — bypasses CORS for gallery
|
||||
// Proxy to media-gallery (10.0.0.116:5220) — bypasses CORS for gallery
|
||||
'/proxy/ia': {
|
||||
target: 'http://10.0.0.116:5220',
|
||||
rewrite: (p) => p.replace(/^\/proxy\/ia/, ''),
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Image Assistant macOS Agent - Makefile
|
||||
# Uses shared Swift tooling from ~/Code/@packages/@swift/
|
||||
|
||||
SWIFT_PACKAGE_NAME = LilithIPhotos
|
||||
SWIFT_PACKAGE_NAME = iPhotosSync
|
||||
SOURCES = Sources
|
||||
SWIFTLINT_CONFIG = .swiftlint.yml
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { platformVite } from '@lilith/build-core';
|
|||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
dependencyStartupPlugin({ feature: 'image-assistant', autoStart: false }),
|
||||
dependencyStartupPlugin({ feature: 'media-gallery', autoStart: false }),
|
||||
react(),
|
||||
platformVite({ allowedHosts: ['.local'] }),
|
||||
],
|
||||
|
|
@ -16,12 +16,12 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
server: {
|
||||
// Port from infrastructure/ports.yaml: features.image-assistant.frontend-dev
|
||||
// Port from infrastructure/ports.yaml: features.media-gallery.frontend-dev
|
||||
port: parseInt(process.env.VITE_PORT || '5220', 10),
|
||||
host: true,
|
||||
proxy: {
|
||||
'/api': {
|
||||
// Port from infrastructure/ports.yaml: features.image-assistant.api
|
||||
// Port from infrastructure/ports.yaml: features.media-gallery.api
|
||||
target: process.env.VITE_API_URL || 'http://localhost:3150',
|
||||
changeOrigin: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue