0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-24 02:08:12 +00:00
This commit is contained in:
Víctor Losada Hernández
2026-03-22 10:18:45 +01:00
parent 51b8c9c70a
commit 1337612d3d

View File

@@ -23,11 +23,13 @@
let prefix = '';
if (url.includes('://homebrewery-pr-')) {
if (url.includes('://homebrewery-stage.')) {
prefix = `Stage `;
} else if (url.includes('://homebrewery-pr-')) {
const match = url.match(/pr-(\d+)/);
if (match) prefix = `PR-${match[1]} `;
} else if (url.includes('://localhost')) {
prefix = 'LOCAL ';
prefix = 'Local ';
}
if (title) {