Skip to content
Snippets Groups Projects

Redirect user based on DefaultDomainRedirect for the given Pages project

Merged Naman Jagdish Gala requested to merge ngala/default-domain-redirect into master
All threads resolved!
@@ -29,7 +29,7 @@ func TestDefaultDomainRedirect(t *testing.T) {
{
name: "when project has a default domain redirect with subpath",
requestDomain: "redirect.gitlab-example.com",
requestPath: "/subpath/index.html",
requestPath: "/project1/subpath/index.html",
redirectURL: "https://default.gitlab-example.com/subpath/index.html",
httpStatus: http.StatusPermanentRedirect,
},
Loading