randydev commited on
Commit
376597e
·
verified ·
1 Parent(s): 419fa76

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +7 -1
index.js CHANGED
@@ -25,7 +25,13 @@ const payload = (prompt) => ({
25
 
26
  const OpenaiRes = async (prompt) => {
27
  try {
28
- const url = "https://openai-gpt.remixproject.org/";
 
 
 
 
 
 
29
  const headers = {
30
  "Accept": "application/json",
31
  "Content-Type": "application/json",
 
25
 
26
  const OpenaiRes = async (prompt) => {
27
  try {
28
+ const EncodeUrl = "aHR0cHM6Ly9vcGVuYWktZ3B0LnJlbWl4cHJvamVjdC5vcmcv"
29
+ let url;
30
+ try {
31
+ url = atob(EncodeUrl);
32
+ } catch (e) {
33
+ console.error("Could not decode the string! " + e);
34
+ }
35
  const headers = {
36
  "Accept": "application/json",
37
  "Content-Type": "application/json",