Disable HTTP(s) - Browser Engine

Reason: Unfortunately, after some test, I found that Playwright requires a lot of libraries to be installed on the Linux host in order to start Chrome or Firefox. It will be hard to install, so I hide this feature for now.
This commit is contained in:
Louis Lam 2023-01-30 00:00:41 +08:00
parent ddce8f0cb0
commit 6828d337ae
2 changed files with 8 additions and 1 deletions

View File

@ -71,12 +71,16 @@
</option> </option>
</optgroup> </optgroup>
<!--
Hidden for now: Reason refer to Setting.vue
<optgroup :label="$t('Custom Monitor Type')"> <optgroup :label="$t('Custom Monitor Type')">
<option value="browser"> <option value="browser">
(Beta) HTTP(s) - Browser Engine (Chrome/Firefox) (Beta) HTTP(s) - Browser Engine (Chrome/Firefox)
</option> </option>
</optgroup> </optgroup>
</select> </select>
-->
</select>
</div> </div>
<!-- Friendly Name --> <!-- Friendly Name -->

View File

@ -113,9 +113,12 @@ export default {
backup: { backup: {
title: this.$t("Backup"), title: this.$t("Backup"),
}, },
/*
Hidden for now: Unfortunately, after some test, I found that Playwright requires a lot of libraries to be installed on the Linux host in order to start Chrome or Firefox.
It will be hard to install, so I hide this feature for now. But it still accessible via URL: /settings/plugins.
plugins: { plugins: {
title: this.$tc("plugin", 2), title: this.$tc("plugin", 2),
}, },*/
about: { about: {
title: this.$t("About"), title: this.$t("About"),
}, },