Skip to content

Commit

Permalink
Feat/protocol texture match (#98)
Browse files Browse the repository at this point in the history
* Checking match protocol texture service and backend api

* Edit texture protocol default value

---------

Co-authored-by: vterentev <[email protected]>
  • Loading branch information
Scondic and vterentev authored Nov 10, 2024
1 parent 487845c commit ef2822d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export const EditSettingsPlatformForm = () => {
storageHost: platform?.storageHost || "",
storageLogin: platform?.storageLogin || "",
storagePassword: "",
textureProtocol: platform?.textureProtocol || Protocol.HTTPS,
textureProtocol:
platform?.textureProtocol === Protocol.HTTPS ? Protocol.HTTPS : Protocol.HTTP,
},
resolver: zodResolver(EditSettingsPlatformSchema),
});
Expand Down

0 comments on commit ef2822d

Please sign in to comment.