1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 02:54:42 -05:00

bump version owo

This commit is contained in:
Ashley 2023-11-13 17:05:08 +00:00
parent 786ae5ca3d
commit 91a3e4f4e1

View file

@ -27,15 +27,23 @@ function getJson(str) {
} }
const pkg = require("../../../package.json"); const pkg = require("../../../package.json");
const ver = "v23.2809-aRi-MAJOR-stable-nonLTS-git-MTY5NTkxODIyMg=="; const cnf = require("../../../config.json");
const branch = "master";
const codename = "ari"; const ver = "v23.1311-aMy-MAJOR-stable-nonLTS-git-MTY5OTg5NDg3Mw==";
const versionnumber = "269"; const branch = "dev";
const relaseunixdate = "MTY5NTkxODIyMg=="; const codename = "amy";
const versionnumber = "270";
const relaseunixdate = "MTY5OTg5NDg3Mw==";
module.exports = function (app, config, renderTemplate) { module.exports = function (app, config, renderTemplate) {
app.get("/embed/:v", async function (req, res) { app.get("/embed/:v", async function (req, res) {
res.send("Disabled until further notice"); res.send("Disabled until Q1 2024");
});
app.get("/admin", async function (req, res) {
if(req.hostname === "poketube.fun") {
res.redirect("https://console.sudovanilla.com/?from=pt_admin")
}
}); });
app.get("/vi/:v/:t", async function (req, res) { app.get("/vi/:v/:t", async function (req, res) {
@ -153,6 +161,7 @@ app.get("/avatars/:v", async function (req, res) {
relaseunixdate, relaseunixdate,
vernum: versionnumber, vernum: versionnumber,
codename, codename,
config:cnf,
packages: { packages: {
libpt: version, libpt: version,
node: process.version, node: process.version,