cmd(configure): fix panel url not being set
Fixes https://github.com/pterodactyl/panel/issues/5087
This commit is contained in:
@@ -155,6 +155,9 @@ func configureCmdRun(cmd *cobra.Command, args []string) {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Manually specify the Panel URL as it won't be decoded from JSON.
|
||||||
|
cfg.PanelLocation = configureArgs.PanelURL
|
||||||
|
|
||||||
if err = config.WriteToDisk(cfg); err != nil {
|
if err = config.WriteToDisk(cfg); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user