enzostvs HF staff commited on
Commit
14679c7
·
1 Parent(s): 1e65081
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -32,7 +32,7 @@ cron.schedule("0 * * * *", async () => {
32
  });
33
 
34
  cron.schedule("0 0 * * *", async () => {
35
- const request = await fetch(`${process.env.SPACE_HOST}/api/models`, {
36
  method: 'PATCH',
37
  headers: {
38
  'Content-Type': 'application/json',
 
32
  });
33
 
34
  cron.schedule("0 0 * * *", async () => {
35
+ const request = await fetch(`https://${process.env.SPACE_HOST}/api/models`, {
36
  method: 'PATCH',
37
  headers: {
38
  'Content-Type': 'application/json',