diff --git a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/Oauth2Filter.java b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/Oauth2Filter.java index 2537adeb36..397e9c0077 100644 --- a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/Oauth2Filter.java +++ b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/Oauth2Filter.java @@ -192,7 +192,7 @@ public class Oauth2Filter implements Filter { "and selecting Git from the left sidebar in the project view.", "", "If this is unexpected, please contact us at support@overleaf.com, or", - "see https://www.overleaf.com/help/342 for more information." + "see https://www.overleaf.com/learn/how-to/Git_integration for more information." )); } @@ -212,7 +212,7 @@ public class Oauth2Filter implements Filter { "This Overleaf project does not exist.", "", "If this is unexpected, please contact us at support@overleaf.com, or", - "see https://www.overleaf.com/help/342 for more information." + "see https://www.overleaf.com/learn/how-to/Git_integration for more information." )); } diff --git a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/MissingRepositoryException.java b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/MissingRepositoryException.java index 9b0fef28ce..e1a2b8752a 100644 --- a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/MissingRepositoryException.java +++ b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/MissingRepositoryException.java @@ -15,7 +15,7 @@ public class MissingRepositoryException extends SnapshotAPIException { "for the project.", "", "If this is unexpected, please contact us at support@overleaf.com, or", - "see https://www.overleaf.com/help/342 for more information." + "see https://www.overleaf.com/learn/how-to/Git_integration for more information." ); static List buildDeprecatedMessage(String newUrl) { @@ -29,7 +29,7 @@ public class MissingRepositoryException extends SnapshotAPIException { "prompted to update your git remote to the project's new identifier.", "", "If this is unexpected, please contact us at support@overleaf.com, or", - "see https://www.overleaf.com/help/342 for more information." + "see https://www.overleaf.com/learn/how-to/Git_integration for more information." ); } else { return Arrays.asList( @@ -43,7 +43,7 @@ public class MissingRepositoryException extends SnapshotAPIException { "prompted to update your git remote to the project's new identifier.", "", "If this is unexpected, please contact us at support@overleaf.com, or", - "see https://www.overleaf.com/help/342 for more information." + "see https://www.overleaf.com/learn/how-to/Git_integration for more information." ); } @@ -55,7 +55,7 @@ public class MissingRepositoryException extends SnapshotAPIException { "This Overleaf project has been moved to Overleaf v2 and cannot be used with git at this time.", "", "If this error persists, please contact us at support@overleaf.com, or", - "see https://www.overleaf.com/help/342 for more information." + "see https://www.overleaf.com/learn/how-to/Git_integration for more information." ); } else { return Arrays.asList( @@ -70,7 +70,7 @@ public class MissingRepositoryException extends SnapshotAPIException { " git remote set-url origin " + remoteUrl, "", "If this does not work, please contact us at support@overleaf.com, or", - "see https://www.overleaf.com/help/342 for more information." + "see https://www.overleaf.com/learn/how-to/Git_integration for more information." ); } } diff --git a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/Request.java b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/Request.java index 71a8bf3c5c..f44057a01b 100644 --- a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/Request.java +++ b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/Request.java @@ -81,7 +81,7 @@ public abstract class Request { "Rate-limit exceeded. Please wait a while and try again.", "", "If this is unexpected, please contact us at support@overleaf.com, or", - "see https://www.overleaf.com/help/342 for more information." + "see https://www.overleaf.com/learn/how-to/Git_integration for more information." )); } else if (sc == HttpServletResponse.SC_CONFLICT) { // 409 try { @@ -96,7 +96,7 @@ public abstract class Request { "We recommend removing the .git folder before trying again.", "", "If this is unexpected, please contact us at support@overleaf.com, or", - "see https://www.overleaf.com/help/342 for more information." + "see https://www.overleaf.com/learn/how-to/Git_integration for more information." )); } else { throw new MissingRepositoryException(Arrays.asList("Conflict: 409"));