Skip to content

Commit

Permalink
Updated config to use SSL through config rather than being hardcoded
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkDawson104 committed Sep 25, 2024
1 parent 36ca4b0 commit ca0bfae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/renderer/api/comms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class CommsAPI extends TachyonClient<"user"> {
constructor() {
super("user", {
host: serverConfig.host,
port: serverConfig.port,
ssl: serverConfig.ssl,
logging: true,
requestHandlers: {
"battle/start": async (data) => {
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/views/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ const error = ref("");
async function connect() {
try {
console.log("Running connect");
state.value = "connecting";
let oauthToken: Awaited<ReturnType<typeof api.comms.auth>> | undefined;
Expand Down

0 comments on commit ca0bfae

Please sign in to comment.