Skip to content

Node.js based forum software built for the modern web

use absolute url

Barış Soner Uşaklıe35ff0a1b5da
diff --git a/src/controllers/category.js b/src/controllers/category.js
index 44755f2f7f..899501b4c2 100644
--- a/src/controllers/category.js
+++ b/src/controllers/category.js
@@ -149,7 +149,7 @@ async function buildBreadcrumbs(req, categoryData) {
const breadcrumbs = [
{
text: categoryData.name,
- url: `${relative_path}/category/${categoryData.slug}`,
+ url: `${url}/category/${categoryData.slug}`,
cid: categoryData.cid,
},
];