From dc7a26c64440ff42f7aafa14a853fd6213a914a2 Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Fri, 8 Apr 2022 16:26:36 +0430 Subject: [PATCH] dev deployment config + web video bug fixed --- .fandogh/fandogh.yaml | 8 ++++---- .../home/studio/studio_details/studio_details.web.dart | 7 +++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.fandogh/fandogh.yaml b/.fandogh/fandogh.yaml index 45fc5be..f3f18c9 100644 --- a/.fandogh/fandogh.yaml +++ b/.fandogh/fandogh.yaml @@ -1,13 +1,13 @@ kind: ExternalService -name: app-test +name: app-dev spec: allow_http: false disable_default_domains: true - image: app:1.2.0 + image: app-dev:1.5.11 image_pull_policy: IfNotPresent path: / replicas: 1 resources: - memory: 150Mi + memory: 100Mi domains: - - name: web.didvan.app \ No newline at end of file + - name: dev.didvan.app \ No newline at end of file diff --git a/lib/views/home/studio/studio_details/studio_details.web.dart b/lib/views/home/studio/studio_details/studio_details.web.dart index b944905..95aa28f 100644 --- a/lib/views/home/studio/studio_details/studio_details.web.dart +++ b/lib/views/home/studio/studio_details/studio_details.web.dart @@ -87,9 +87,12 @@ class _StudioDetailsState extends State { height: d.size.height - d.padding.top - 56, child: Column( children: [ - const AspectRatio( + AspectRatio( aspectRatio: 16 / 9, - child: HtmlElementView(viewType: 'video'), + child: HtmlElementView( + viewType: 'video', + key: ValueKey(state.studio.id), + ), ), Expanded( child: StudioDetailsWidget(