Skip to content

Commit 39c2469

Browse files
committed
custom corsproxy removeable
1 parent 3148ba6 commit 39c2469

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,11 +425,9 @@ export function Workspace() {
425425

426426
const handleTypingUrl = () => {
427427
const url = cloneUrlRef.current.value
428-
const corsproxy = corsproxyUrlRef.current.value
429428

430-
if (corsproxy) {
431-
config.set('corsproxy', corsproxy)
432-
}
429+
const corsproxy = corsproxyUrlRef.current.value
430+
config.set('corsproxy', corsproxy)
433431

434432
if (url) {
435433
global.dispatchCloneRepository(url)

0 commit comments

Comments
 (0)