Skip to content
Discussion options

You must be logged in to vote

(This took half of my Saturday, hopefully someone finds this useful.)

VS Code Desktop

I have discovered environments using a Client configuration management tools can use:

sqlite3 ~/.config/Code/User/globalStorage/state.vscdb "UPDATE ItemTable SET value = '[\"https://github.com\", \"https://git.corp.example.com\", \"https://foorack.com\"]' WHERE key = 'http.linkProtectionTrustedDomains';"

This command needs to be run as each user / on each home folder, and only works for the Desktop installations of Code/Code - Insider/etc.

Warning

This will wipe any previously Developer-added domains each time the command is run. Only run it once on initial-setup.


Coder / code-server

However, this does…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Foorack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant