cmd(configure): fix panel url not being set

Fixes https://github.com/pterodactyl/panel/issues/5087
This commit is contained in:
Matthew Penner 2024-05-07 22:01:12 -06:00
parent 202f2229a9
commit 2b0e35360b
No known key found for this signature in database

View File

@ -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)
} }