Update src/libpoketube/init/pages-api.js
This commit is contained in:
parent
edaa64f121
commit
31c3aebcdd
@ -54,7 +54,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||
});
|
||||
|
||||
|
||||
app.get("/api/geo", async function (req, res) => {
|
||||
app.get("/api/geo", async function (req, res) {
|
||||
try {
|
||||
let ip =
|
||||
req.headers["x-forwarded-for"]?.split(",")[0].trim() ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user