Skip to content

Commit

Permalink
custom corsproxy removeable
Browse files Browse the repository at this point in the history
  • Loading branch information
drafish committed Dec 17, 2023
1 parent 209acbc commit 2bda2a0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,9 @@ export function Workspace() {

const handleTypingUrl = () => {
const url = cloneUrlRef.current.value
const corsproxy = corsproxyUrlRef.current.value

if (corsproxy) {
config.set('corsproxy', corsproxy)
}
const corsproxy = corsproxyUrlRef.current.value
config.set('corsproxy', corsproxy)

if (url) {
global.dispatchCloneRepository(url)
Expand Down

0 comments on commit 2bda2a0

Please sign in to comment.