I've been working on a site locally in
devMode. I moved it from Craft 2 to Craft 3. I set
config/general.php file and in admin it doesn't show the
devMode bar at the top, but everything in the front of the site was pointing to my local environment.
The only thing that has worked is setting my siteUrl in the 'dev' to the actual site
// Dev environment settings 'dev' => [ // Base site URL 'siteUrl' => 'https://footwearoutfitters.net', // Dev Mode (see https://craftcms.com/support/dev-mode) 'devMode' => false, ]
While this works, I'm concerned if it thinks it's running in
devMode I'll have potential security threats.