Skip to content

Commit

Permalink
Remove unstable dl
Browse files Browse the repository at this point in the history
  • Loading branch information
NotThorny committed Jun 9, 2023
1 parent 77da432 commit b6cfc29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions src-tauri/src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ use reqwest::header::{CONTENT_TYPE, USER_AGENT};
static CLIENT: Lazy<reqwest::Client> = Lazy::new(|| {
let mut headers = header::HeaderMap::new();
headers.insert(USER_AGENT, header::HeaderValue::from_static("cultivation"));
headers.insert(CONTENT_TYPE, header::HeaderValue::from_static("application/json"));
headers.insert(
CONTENT_TYPE,
header::HeaderValue::from_static("application/json"),
);

let client = reqwest::Client::builder()
.default_headers(headers);
let client = reqwest::Client::builder().default_headers(headers);
client.build().unwrap()
});

Expand Down
4 changes: 2 additions & 2 deletions src/ui/components/menu/Downloads.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export default class Downloads extends React.Component<IProps, IState> {
<div className="HeaderText" id="downloadMenuIndividualHeader">
<Tr text="downloads.individual_header" />
</div>
<div className="DownloadMenuSection" id="downloadMenuContainerGCUnstable">
{/* <div className="DownloadMenuSection" id="downloadMenuContainerGCUnstable">
<div className="DownloadLabel" id="downloadMenuLabelGCUnstable">
<Tr
text={
Expand All @@ -318,7 +318,7 @@ export default class Downloads extends React.Component<IProps, IState> {
<Tr text="components.download" />
</BigButton>
</div>
</div>
</div> */}
<div className="DownloadMenuSection" id="downloadMenuContainerGCDev">
<div className="DownloadLabel" id="downloadMenuLabelGCDev">
<Tr
Expand Down

0 comments on commit b6cfc29

Please sign in to comment.