mirror of
https://github.com/simongregorebner/gitea-pages.git
synced 2025-04-22 02:40:03 +02:00
change way default repo is called - second part fixed
This commit is contained in:
parent
f88e09b481
commit
f8b70e8cb9
@ -154,7 +154,8 @@ func (module GiteaPagesModule) ServeHTTP(writer http.ResponseWriter, request *ht
|
|||||||
} else {
|
} else {
|
||||||
// (Try to) Use of the pages repository in the specified organization
|
// (Try to) Use of the pages repository in the specified organization
|
||||||
// We use github.com conventions: <organization>.github.io
|
// We use github.com conventions: <organization>.github.io
|
||||||
repository = organization + "." + module.PostfixPagesRepository
|
// repository = organization + "." + module.PostfixPagesRepository
|
||||||
|
repository = module.PostfixPagesRepository
|
||||||
path = strings.Join(parts[0:], "/")
|
path = strings.Join(parts[0:], "/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user