Spaces:
Runtime error
Runtime error
Update index.js
Browse files
index.js
CHANGED
|
@@ -29,7 +29,7 @@ const client = new Client({
|
|
| 29 |
],
|
| 30 |
partials: [Partials.Message, Partials.Channel, Partials.Reaction],
|
| 31 |
rest: {
|
| 32 |
-
api:
|
| 33 |
version: '10'
|
| 34 |
}
|
| 35 |
});
|
|
|
|
| 29 |
],
|
| 30 |
partials: [Partials.Message, Partials.Channel, Partials.Reaction],
|
| 31 |
rest: {
|
| 32 |
+
api: `https://${networkFix.getTargetDomain()}/api`,
|
| 33 |
version: '10'
|
| 34 |
}
|
| 35 |
});
|