I hereby claim:
- I am rayhanadev on github.
- I am rayhanadev (https://keybase.io/rayhanadev) on keybase.
- I have a public key ASBPBNwIxkpyT6Y_oiWryAowrMN9eCG-nMqudqSb60Bocwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(R) | |
abortion | |
abortions | |
abused | |
accountability | |
AGI | |
alarm | |
alarming | |
America | |
angry |
import { handler as middleware } from '../dist/server/entry.mjs'; | |
export const handler = async (req, res, next) => { | |
const response = await middleware(req, res, next); | |
return response; | |
}; |
src/ | |
┣╸server/ | |
┃ ┗╸index.js | |
┣╸client/ | |
┃ ┣╸public/ | |
┃ ┃ ┣╸styles/ | |
┃ ┃ ┃ ┗╸ *.scss | |
┃ ┃ ┗╸js/ | |
┃ ┃ ┣╸components/ | |
┃ ┃ ┃ ┗╸*.js |
import { lightfetch } from 'lightfetch-node'; | |
// You will need your connect.sid cookie for authenticated requests | |
const { CONNECT_SID } = process.env; | |
const headers = { | |
'X-Requested-With': 'Your-Username', | |
Referrer: 'https://replit.com/', | |
}; | |
/* |
function startInterval() { | |
(function loop() { | |
var now = new Date(); | |
// Set the time here | |
if (now.getDay() === 0 && now.getHours() === 0 && now.getMinutes() === 59) { | |
/* Place function to execute here */ | |
} | |
now = new Date(); | |
var delay = 60000 - (now % 60000); | |
setTimeout(loop, delay); |