Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 5646c09

Browse files
author
RayhanADev
authored
1 parent ceb9727 commit 5646c09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/classes/Repl.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ let variables = require('../utils/variables.js');
33

44
async function _getReplId(username, slug) {
55
let info = await variables
6-
.fetch(`https://staging.repl.it/data/repls/@${username}/${slug}`, {
6+
.fetch(`https://replit.com/data/repls/@${username}/${slug}`, {
77
method: 'GET',
88
headers
99
})
@@ -24,7 +24,7 @@ class Repl {
2424

2525
let id = await _getReplId(username, slug);
2626
let info = await variables
27-
.fetch('https://staging.repl.it/graphql', {
27+
.fetch(variables.graphql, {
2828
method: 'POST',
2929
headers,
3030
body: JSON.stringify({
@@ -55,7 +55,7 @@ class Repl {
5555
let slug = this.slug;
5656

5757
let info = await variables
58-
.fetch(`https://staging.repl.it/data/repls/@${username}/${slug}`, {
58+
.fetch(`https://replit.com/data/repls/@${username}/${slug}`, {
5959
method: 'GET',
6060
headers
6161
})

0 commit comments

Comments
 (0)