Skip to content

Commit d86e147

Browse files
committed
chore(dev): update chrome disable security command
1 parent 675952e commit d86e147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/shell-host/src/DevIframe.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export default defineComponent({
171171
class="text-green-500"
172172
>disable Chrome web security</a> to allow manipulating an iframe on a different origin.
173173
</p>
174-
<pre class="my-2 p-2 rounded bg-gray-100 dark:bg-gray-900 text-sm">google-chrome --disable-web-security --user-data-dir="temp-chrome-data"</pre>
174+
<pre class="my-2 p-2 rounded bg-gray-100 dark:bg-gray-900 text-sm">google-chrome --disable-web-security --disable-site-isolation-trials --user-data-dir="temp-chrome-data"</pre>
175175
<p>If the devtools have trouble connecting to the webpage, please put this snippet in the target app HTML before the main scripts:</p>
176176
<pre
177177
class="my-2 p-2 rounded bg-gray-100 dark:bg-gray-900 text-sm"
@@ -192,7 +192,7 @@ export default defineComponent({
192192
target="_blank"
193193
class="text-green-500"
194194
>disable Chrome web security</a> to allow manipulating an iframe on a different origin.
195-
<pre class="my-2 p-2 rounded bg-gray-100 dark:bg-gray-900 text-sm">google-chrome --disable-web-security --user-data-dir="temp-chrome-data"</pre>
195+
<pre class="my-2 p-2 rounded bg-gray-100 dark:bg-gray-900 text-sm">google-chrome --disable-web-security --disable-site-isolation-trials --user-data-dir="temp-chrome-data"</pre>
196196
</div>
197197
</VueModal>
198198
</div>

0 commit comments

Comments
 (0)