mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 00:32:42 +01:00
Whitelist "vscode://" as an allowed Editor protocol
Summary: See PHI1647, which asks for "vscode://" to be a configurable protocol on hosted Phacility instances. I made the configuration editable in D21008, but this can reasonably just come upstream too. Test Plan: Viewed config in Config, set my editor URI to `vscode://blahblah`. Differential Revision: https://secure.phabricator.com/D21009
This commit is contained in:
parent
29923cc71a
commit
149155ee20
1 changed files with 3 additions and 0 deletions
|
@ -210,6 +210,9 @@ EOTEXT
|
||||||
// This isn't a standard handler installed by an application, but
|
// This isn't a standard handler installed by an application, but
|
||||||
// is a reasonable name for a user-installed handler.
|
// is a reasonable name for a user-installed handler.
|
||||||
'editor' => true,
|
'editor' => true,
|
||||||
|
|
||||||
|
// This handler is for Visual Studio Code.
|
||||||
|
'vscode' => true,
|
||||||
))
|
))
|
||||||
->setSummary(pht('Whitelists editor protocols for "Open in Editor".'))
|
->setSummary(pht('Whitelists editor protocols for "Open in Editor".'))
|
||||||
->setDescription(
|
->setDescription(
|
||||||
|
|
Loading…
Reference in a new issue