Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 9d19ede

Browse files
committed
Update package
1 parent e70afdc commit 9d19ede

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ export default class Weloop extends Component {
2929
}
3030

3131
componentDidMount() {
32-
fetch(
33-
"https://staging-api.30kg-rice.cooking/widget/" + this.props.appGuid
34-
)
32+
fetch("https://api.weloop.io/widget/" + this.props.appGuid)
3533
.then((response) => response.json())
3634
.then((json) => {
3735
this.setState({
@@ -132,7 +130,7 @@ export default class Weloop extends Component {
132130
ref={this.webView}
133131
source={{
134132
uri:
135-
"https://staging-widget.30kg-rice.cooking/home?appGuid=" +
133+
"https://widget.weloop.io/home?appGuid=" +
136134
this.props.appGuid,
137135
}}
138136
javaScriptEnabled

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
22
"name": "react-native-weloop",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "",
55
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/WeLoopTeam/WeLoop-react-native"
12+
},
913
"devDependencies": {
1014
"metro-react-native-babel-preset": "^0.51.1"
1115
},

0 commit comments

Comments
 (0)