Skip to content

Commit b1c4f50

Browse files
committed
latest
1 parent 5f96bd6 commit b1c4f50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

studio/fix_genql_urls.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
22
new_url=`grep VITE_API_ENDPOINT .env | awk -F= '{print $2}'`
3+
cp ./staged_src/genql/studio/index.ts src/genql/studio/index.ts
4+
cp ./staged_src/genql/config/index.ts src/genql/config/index.ts
35
sed -i "s@REPLACE_THIS_URL@${new_url}@g" src/genql/studio/index.ts
4-
sed -i "s@REPLACE_THIS_URL@${new_url}@g" src/genql/config/index.ts
6+
sed -i "s@REPLACE_THIS_URL@${new_url}@g" src/genql/config/index.ts

0 commit comments

Comments
 (0)