e0b6eb3a59
The handleConfigUpdate function updates themeSettings.Frontend from DB but never calls syncThemeToCommon(), so common.GetTheme() always returns the hardcoded init value "classic" regardless of the DB setting. This causes the web router to serve the classic frontend even when the DB has theme.frontend=default. Add post-processing hook for the "theme" config to call UpdateAndSyncTheme(), consistent with how performance_setting and billing_setting already handle their sync. Co-authored-by: Micah Zheng <micahzheng@MicahdeMacBook-Pro.local>