File tree Expand file tree Collapse file tree
web/src/pages/SupportPage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ pub async fn init_dev_env(config: &DefGuardConfig) {
740740 settings. public_proxy_url = config
741741 . enrollment_url
742742 . clone ( )
743- . unwrap_or ( Url :: parse ( "http://127.0.0.1:8000 " ) . unwrap ( ) )
743+ . unwrap_or ( Url :: parse ( "http://localhost:8080 " ) . unwrap ( ) )
744744 . to_string ( ) ;
745745 settings. defguard_url = config. url . clone ( ) . unwrap ( ) . to_string ( ) ;
746746 update_current_settings ( & pool, settings)
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { MarkedSectionHeader } from '../../shared/defguard-ui/components/MarkedS
1616import docIllustration from '../../shared/defguard-ui/components/SectionSelect/assets/manual-user.png' ;
1717import { SizedBox } from '../../shared/defguard-ui/components/SizedBox/SizedBox' ;
1818import { TextStyle , ThemeSpacing , ThemeVariable } from '../../shared/defguard-ui/types' ;
19- import { downloadFile , downloadText } from '../../shared/utils/download' ;
19+ import { downloadFile } from '../../shared/utils/download' ;
2020
2121export const SupportPage = ( ) => {
2222 return (
@@ -104,14 +104,6 @@ export const SupportPage = () => {
104104 downloadFile ( blob , `defguard-support-data-${ now } ` , 'json' ) ;
105105 } ,
106106 } ,
107- {
108- text : m . support_page_bug_btn_download_logs ( ) ,
109- onClick : async ( ) => {
110- const res = await api . support . getLogs ( ) ;
111- const now = new Date ( ) . toISOString ( ) . replace ( / [: .] / g, '-' ) ;
112- downloadText ( res . data , `defguard-logs-${ now } ` , 'txt' ) ;
113- } ,
114- } ,
115107 ] ,
116108 } ,
117109 ] }
You can’t perform that action at this time.
0 commit comments