Link URL is wrong when creating new app package installer

I am creating custom app packages, when I use the copy link function the url it has is different than what’s configured in the network settings section. Can’t figure out where to change that. Thoughts?