mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 08:44:04 +01:00
Config: Move Portal flag to ClientConfig struct
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -59,7 +59,7 @@ func ClusterGetTheme(router *gin.RouterGroup) {
|
||||
*/
|
||||
|
||||
// Abort if this is not a portal server.
|
||||
if !conf.IsPortal() {
|
||||
if !conf.Portal() {
|
||||
AbortFeatureDisabled(c)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user