From 2b0e35360b8a3cfbf764266cc66962f31b37d4f3 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Tue, 7 May 2024 22:01:12 -0600 Subject: [PATCH] cmd(configure): fix panel url not being set Fixes https://github.com/pterodactyl/panel/issues/5087 --- cmd/configure.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/configure.go b/cmd/configure.go index 9c89935..01671a2 100644 --- a/cmd/configure.go +++ b/cmd/configure.go @@ -155,6 +155,9 @@ func configureCmdRun(cmd *cobra.Command, args []string) { 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 { panic(err) }