cmd(configure): fix panel url not being set
Fixes https://github.com/pterodactyl/panel/issues/5087
This commit is contained in:
parent
202f2229a9
commit
2b0e35360b
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user