@hydren/linkvertise
Version:
Linkvertise or something..
20 lines (15 loc) • 504 B
JavaScript
const express = require("express");
const app = express();
const linkvertise = require("@hydren/linkvertise");
linkvertise.config("1225994");
function openahahha(req) {
console.log("User completed Linkvertise:", req.ip);
// add whatever u want something like addcoins(process.env.AFK_COINS)
}
app.use(linkvertise.create({
type: "router",
path: "/go",
finalPath: "/simple",
onComplete: openahahha
}));
app.listen(3000, () => console.log("Server running on port 3000"));