Compare commits

...

1 Commits

Author SHA1 Message Date
Flaminel
ef85e2b690 Fix docs broken links (#190) 2025-06-29 01:03:24 +03:00

View File

@@ -23,7 +23,7 @@ export class ApplicationPathService {
*/
getDocumentationBaseUrl(): string {
if (isDevMode()) {
return 'http://localhost:3000';
return 'http://localhost:3000/Cleanuparr';
}
return 'https://cleanuparr.github.io/Cleanuparr';
@@ -59,7 +59,7 @@ export class ApplicationPathService {
*/
buildDocumentationUrl(section: string, fieldAnchor?: string): string {
const baseUrl = this.getDocumentationBaseUrl();
let url = `${baseUrl}/cleanuparr/docs/configuration/${section}`;
let url = `${baseUrl}/docs/configuration/${section}`;
if (fieldAnchor) {
url += `#${fieldAnchor}`;