Switching Default App

I have ERPNext app installed in site1 and a custom app on site2. Now, I want to make custom app as default app sometimes. Still getting ERPNext, after setting site2 as current site, although custom app was expected.

Please advice.


To set site2 as the default site try this:

bench use site2

set-default-site may be obsolete now Cannot change Default Site using bench command - #4 by KanchanChauhan

frappe@ubuntu:~/frappe-bench$ bench --help | grep ‘default site’
set-default-site Set default site for bench
use Set a default site