mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 17:17:59 +00:00
add priv-custom :3
This commit is contained in:
parent
e0b3d7dd17
commit
b4d5b80f5f
@ -24,7 +24,11 @@ module.exports = function (app, config, renderTemplate) {
|
||||
var html_location = "./css/";
|
||||
|
||||
app.get("/privacy", function (req, res) {
|
||||
if ( req.hostname == "poketube.fun" || req.hostname == "poketube.site" || req.hostname == "poketube.online" || req.hostname == "poketube.xyz" ) {
|
||||
renderTemplate(res, req, "priv.ejs");
|
||||
} else {
|
||||
renderTemplate(res, req, "priv-custom.ejs");
|
||||
}
|
||||
});
|
||||
|
||||
app.get("/143", function (req, res) {
|
||||
|
Loading…
Reference in New Issue
Block a user