Skip to content

Commit 34c13c7

Browse files
committed
refactor: Update syncState remote url
1 parent 733ef45 commit 34c13c7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.changeset/healthy-bikes-behave.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@protocol.land/sync-github': patch
33
---
44

5-
refactor: Accept repo id as inputs
5+
refactor: Accept repo id as inputs & update sync url

src/lib/warpHelper.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ export async function getRepo(id: string, destpath?: string) {
2828
let pl = getWarp(destpath).contract(CONTRACT_TXID);
2929

3030
await pl
31-
.syncState('https://dre-1.warp.cc/contract', { validity: true })
32-
.catch((err: any) => console.log('DRE Sync Error: ', err?.message));
31+
.syncState('https://pl-cache.saikranthi.dev/contract', {
32+
validity: true,
33+
})
34+
.catch(() => {});
3335

3436
// let warp throw error if it can't retrieve the repository
3537
const response = await pl.viewState({

0 commit comments

Comments
 (0)