mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 21:37:48 +01:00
bump version owo
This commit is contained in:
parent
786ae5ca3d
commit
91a3e4f4e1
1 changed files with 15 additions and 6 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue